rattail-fabric/rattail_fabric/deploy/backup/crontab.mako

12 lines
471 B
Plaintext
Raw Normal View History

# -*- mode: conf; -*-
# backup everything of importance at ${pretty_time}
% if hasattr(env, 'machine_is_live'):
${'' if env.machine_is_live else '# '}${cron_time} * * * root /usr/local/bin/backup-everything
## TODO: should somehow deprecate / remove this?
% elif hasattr(env, 'server_is_live'):
${'' if env.server_is_live else '# '}${cron_time} * * * root /usr/local/bin/backup-everything
% else:
# ${cron_time} * * * root /usr/local/bin/backup-everything
% endif