Commit 8b08a61f authored by Landon DeCoito's avatar Landon DeCoito

fixed the time setup for the cron job

parent fa0b772c
......@@ -33,9 +33,8 @@ class Command(BaseCommand):
# now put the whole command into a job
cjob = cron.new(command=cmd)
#
cjob.minute.every(1)
# cjob.hour.on(2)
# cjob.day.every(1)
# make the job occur every day at 2 in the morning
cjob.hour.on(2)
cjob.day.every(1)
cron.write()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment