diff options
Diffstat (limited to 'examples/schedulers/background.py')
-rw-r--r-- | examples/schedulers/background.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/schedulers/background.py b/examples/schedulers/background.py index d9862e9..20cbbba 100644 --- a/examples/schedulers/background.py +++ b/examples/schedulers/background.py @@ -14,7 +14,7 @@ def tick(): if __name__ == '__main__': scheduler = BackgroundScheduler() - scheduler.add_job('interval', tick, seconds=3) + scheduler.add_job(tick, 'interval', seconds=3) scheduler.start() print('Press Ctrl+C to exit') |