jcass77 / django-apscheduler

APScheduler for Django
MIT License
669 stars 97 forks source link

Cannot create new jobs after manually deleting the jobs in database. #146

Closed SainathAPCPT closed 3 years ago

SainathAPCPT commented 3 years ago

I deleted all the jobs from table. When I try to create new jobs after restarting the server, I am always getting conflicting id error. Even after using the replace_existing flag.

jcass77 commented 3 years ago

It shouldn't be necessary to delete jobs from the tables manually - APScheduler should add / remove jobs automatically as jobs are scheduled and completed.

I can't think of any obvious reasons why you should be encountering this type of issue - please post a code extract of how you are starting django-apscheduler, and how you are scheduling the jobs.

jcass77 commented 3 years ago

Closing due to lack of activity - please re-open if you think this is an actual bug in django-apscheduler.