We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hi, I have this line of code:
schedule.every().tuesday.at("01:48").do(run_threaded, job4) #follow followers
and I have to stop this job after some exact time, as the job could crash and will not work good in next day, help me please to fix this line:
schedule.cancel_job.every().tuesday.at("01:50").do(run_threaded, job4) #follow followers
The text was updated successfully, but these errors were encountered:
Hey,
Why don't you try to schedule a new job to cancel the previous one and cancels out itself?
I mean,
schedule.every().tuesday.at("01:48").do(run_threaded, job4).tag("UNIQUE_ID_FOR_JOB4") def job_4_canceller(): schedule.clear("UNIQUE_ID_FOR_JOB4") return schedule.CancelJob schedule.every().tuesday.at("01:50").do(run_threaded, job_4_canceller)
I am not sure that you are looking for this, but it seems so.
Happy scheduling!
Sorry, something went wrong.
No branches or pull requests
hi,
I have this line of code:
schedule.every().tuesday.at("01:48").do(run_threaded, job4) #follow followers
and I have to stop this job after some exact time, as the job could crash and will not work good in next day, help me please to fix this line:
schedule.cancel_job.every().tuesday.at("01:50").do(run_threaded, job4) #follow followers
The text was updated successfully, but these errors were encountered: