mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-10 15:04:55 +08:00
!fixup(2) Implement job scheduler as per #152
This commit is contained in:
parent
7664256fb4
commit
504336bdf3
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ def schedule_on_chance_or_interval(
|
|||
"""
|
||||
Decide if we will run a job according to chance_percent or interval
|
||||
"""
|
||||
if schedule_on_chance(chance_percent, job_name) or schedule_on_interval(
|
||||
if schedule_on_chance(job_name, chance_percent) or schedule_on_interval(
|
||||
job_name, interval
|
||||
):
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue