285 B
285 B
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"