Skip to content

Commit 3c26cd8

Browse files
committed
fixed interval on daily tasks
1 parent 1c37410 commit 3c26cd8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

mrq/scheduler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def sync_tasks(self, tasks):
4848
# The date part will be discarded in check()
4949
task["dailytime"] = datetime.datetime.combine(
5050
datetime.datetime.utcnow(), task["dailytime"])
51-
if not task.get("interval"):
5251
task["interval"] = 3600 * 24
5352

5453
self.collection.find_one_and_update({"hash": task["hash"]}, {"$set": task}, upsert=True)

0 commit comments

Comments
 (0)