dbader / dbader/schedule

Scheduled job is not stopping

Open
#543 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
12.3k
Forks
999
PR merge metrics
No merged PRs in 30d

Description

I am using the python schedule to schedule a task. The script is running on a server, The script is triggered via API call. For testing purposes, I set the schedule to run every 5 minutes and it worked fine as It should.

The problem arise when I ran the script next time with a different job at a different schedule/time. I can't see any effect of the current schedule. Instead, I am getting the output of the previously running job (which is running in 5 minutes intervals). So what I need to know is, why the job is still running even after script restart and how to stop jobs that are scheduled previously/ replace them with the latest schedule.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.