Aug-30-2019, 06:04 AM
I guess you refer to schedule module from PyPI.
You can check their answer to your question:
Yet another approach is to use OS scheduler tool like cron or TaskScheduler.
And finally, to be technically correct to schedule each job separately will take 2 or max 3 lines with a loop, no need of 48 lines. :-)
You can check their answer to your question:
Quote:How can I make sure long-running jobs are always executed on time?Another option is to look at APScheduler package which has BackgroundScheduler
Schedule does not account for the time it takes the job function to execute. To guarantee a stable execution schedule you need to move long-running jobs off the main-thread (where the scheduler runs). See “How to execute jobs in parallel?” in the FAQ for a sample implementation.
Yet another approach is to use OS scheduler tool like cron or TaskScheduler.
And finally, to be technically correct to schedule each job separately will take 2 or max 3 lines with a loop, no need of 48 lines. :-)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs