You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an error occurs when the backup cron job runs, I would like to be informed so that I know backups are not working.
Expected Results
It would be nice to be able to set the MAILTO variable in the cron job so that error output from the job gets mailed to that email address if a message transfer agent (MTA) is configured on the system.
Right now, this creates a crontab file per instance in /etc/cron.d/dokku-postgres-dbname
I think you can add MAILTO to the top of that file to mail someone with output from the script.
As a workaround, you can possibly have a system-wide address in /etc/default/cron but sometimes specific people are responsible for specific apps
The text was updated successfully, but these errors were encountered:
Description of problem
If an error occurs when the backup cron job runs, I would like to be informed so that I know backups are not working.
Expected Results
It would be nice to be able to set the MAILTO variable in the cron job so that error output from the job gets mailed to that email address if a message transfer agent (MTA) is configured on the system.
Right now, this creates a crontab file per instance in /etc/cron.d/dokku-postgres-dbname
I think you can add MAILTO to the top of that file to mail someone with output from the script.
As a workaround, you can possibly have a system-wide address in /etc/default/cron but sometimes specific people are responsible for specific apps
The text was updated successfully, but these errors were encountered: