homelab/builds/send-report
Brieuc Dubois e9214235c8 Send-report build 2023-10-29 19:48:24 +01:00
..
Dockerfile Send-report build 2023-10-29 19:48:24 +01:00
README.md Send-report build 2023-10-29 19:48:24 +01:00
build.sh Send-report build 2023-10-29 19:48:24 +01:00
init.sh Send-report build 2023-10-29 19:48:24 +01:00
send.sh Send-report build 2023-10-29 19:48:24 +01:00

README.md

Environments to set:

PDF_URL="https://example.tld/report.pdf"
TO_EMAIL="report@example.tld"
SMTP_SERVER="smtp.example.com"
SMTP_PORT="587"
SMTP_USER="your_username"
SMTP_PASSWORD="your_password"
FROM="Example report@example.tld"

TMP_PDF="/tmp/report.pdf"
CRON_SCHEDULE="0 2 * * 0"