Add MAILTO for backup crontab

This commit is contained in:
Lance Edgar 2023-02-23 13:05:54 -06:00
parent 2097136844
commit 43d8df3c5d
2 changed files with 13 additions and 1 deletions

View file

@ -1,4 +1,8 @@
# -*- mode: conf; -*-
% if mailto:
MAILTO="${mailto}"
% endif
# backup everything of importance at ${pretty_time}
${'' if env.machine_is_live else '# '}${cron_time} * * * root /usr/local/bin/backup-everything