-
Notifications
You must be signed in to change notification settings - Fork 961
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
Kill or modify a schedule task #32
Comments
Hi @pawnies20. I'm not exactly sure what you mean by "kill or modify a schedule task" -- could you elaborate a bit more on what you want to achieve? Thanks. |
I did like this:
|
Thank you, perfect !!! Thank you very much
I did like this: print ("Starting log...") while 1: |
Schedule.clear() works well, many thanx Fred
Thank you, perfect !!! Thank you very much
I did like this: print ("Starting log...") while 1: |
to dbader: I only want to canceled a specific Schedule task. "Hi @pawnies20. I'm not exactly sure what you mean by "kill or modify a schedule task" -- could you elaborate a bit more on what you want to achieve? Thanks." |
Please, help me !!! |
Hi @pawnies20 , you could do something like this: def job_that_executes_once():
# Do some work ...
return schedule.CancelJob
schedule.today.at('10:30').do(job_that_executes_once) Basically you let the job cancel itself the first time it executes. |
Hi and thank for your work: greatfull
Can you explain me how to kill, or modify a Schedule task?
Thank you
The text was updated successfully, but these errors were encountered: