diff options
author | agronholm <devnull@localhost> | 2011-02-08 03:21:31 +0200 |
---|---|---|
committer | agronholm <devnull@localhost> | 2011-02-08 03:21:31 +0200 |
commit | 470e006c029d0b79bd308d678ac6b817e49d847a (patch) | |
tree | 93831f3d1a36bea5ca42867ec61a5971553a8dc0 | |
parent | d1d38c8833154082fcbfb72f36146b7ff35d6b41 (diff) | |
download | apscheduler-470e006c029d0b79bd308d678ac6b817e49d847a.tar.gz |
Fixed missing job store alias
-rw-r--r-- | examples/persistent.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/persistent.py b/examples/persistent.py index 13f0790..1e77d1b 100644 --- a/examples/persistent.py +++ b/examples/persistent.py @@ -19,7 +19,7 @@ def alarm(time): if __name__ == '__main__': scheduler = Scheduler() - scheduler.add_jobstore(ShelveJobStore('example.db')) + scheduler.add_jobstore(ShelveJobStore('example.db'), 'shelve') alarm_time = datetime.now() + timedelta(minutes=1) scheduler.add_date_job(alarm, alarm_time, name='alarm', jobstore='shelve', args=[datetime.now()]) |