-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use scheduler.modify_job() #132
Comments
Can you show me how you called |
when i run this code , seconds was change , the new trigger shows the new seconds ,but in the log ,it shows : how can i reload the scheduler? |
In the normal APScheduler I hit a bug doing from apscheduler.triggers.interval import IntervalTrigger
_trigger = IntervalTrigger(minutes=int(minutes))
scheduler.get_job.reschedule(_trigger) |
Reproduced same issue @Deep-sea-boy , @mvirnoche pease advise if we should still use native APS reschedule still or you have a new implementation in flask-APS for reschedule() |
When I used this method to change the seconds parameter of a job , it didn't work。It still executed the old seconds parameter .
how can i reload the scheduler or job with the new parameter
The text was updated successfully, but these errors were encountered: