How to run a scheduled job as a one off #709
securitypedant
started this conversation in
General
Replies: 1 comment
-
There's sadly no way to do either with APScheduler v3.x. APScheduler 4.x currently supports item 2 with its For your use case, you might want to consider distributed locking. How you would do it depends on what external services you have available in your deployment. Redis and PostgreSQL are good examples. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I have a Flask application that uses apscheduler to run an internet speed test every 3 hours. I also want in my web UX to allow the user to run the same job immediately. But I only want one instance of the speed test to be running at any one time.
How can I...
Beta Was this translation helpful? Give feedback.
All reactions