Skip to content

Commit

Permalink
fix: run backups every 6 hours, rather than every minute per 6 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohan Bansal committed Jul 1, 2020
1 parent b51abe3 commit 691687e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def setup_backups(bench_path='.'):

if job_command not in str(system_crontab):
job = system_crontab.new(command=job_command, comment="bench auto backups set for every 6 hours")
job.hour.every(6)
job.every(6).hours()
system_crontab.write()


Expand Down

0 comments on commit 691687e

Please sign in to comment.