Open ragh77 opened 3 years ago
you used apscheduler ,in function add_job add options replace_existing=True,You can run it again without this error like this:
scheduler.add_job(task1, id="job_1", replace_existing=True, trigger="cron", hour=4, minute=4)
we can store the job but we can't fetch the job from the db please help me to how to fetch the job from db and run at particular time and date
Issue Description:
version: elastalert 0.2.4
If we delete and add a rule after the rule gets added to disabled rules list( for example: disabled due to uncaught exception), we see an ConflictingIdError.
Its causing major impact(stops processing/loading other rules) when the disabled rule processed first after all the elastalert rules were removed and added back. It impacts until we restart the elastalert. It would be nice to clear the rule from disabled rules list when we remove the rule without restarting elastalert.