python - How to persist scheduled jobs using APScheduler until they finish completely? -
i'm using apscheduler python 2.7.6. i'm using blockingscheduler store scheduled jobs , sqlalchemy persistent database.
i want schedule jobs , guarantee finish (function reach last line). working fine, see when job started, it's removed database, when job did not finish entire method.
note: obviously, developed jobs not have state , can re-executed in next program executions. should not issue discussed in question.
what best way persist job until complete function/method executed using apscheduler?
i had similar problem, , able resolve using background scheduler instead of blocking scheduler.
Comments
Post a Comment