Skip to content

Commit

Permalink
[Hotfix] Changing hour env to integer
Browse files Browse the repository at this point in the history
  • Loading branch information
DantasB committed Jun 27, 2021
1 parent fda35d9 commit 974342b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
MONGO_PARAMETERS = load_parameters()


@SCHEDULER.scheduled_job(IntervalTrigger(hours=HOUR))
@SCHEDULER.scheduled_job(IntervalTrigger(hours=int(HOUR)))
def users_cron():
failed, collection = access_collection(MONGO_PARAMETERS)
if failed:
Expand Down

0 comments on commit 974342b

Please sign in to comment.