I have used cron4j to start a task to email people daily on certain conditions (they haven't done their job) using Stripes ActionBean.
I saved the task id in MySQL.
However, I cannot seem to stop it. I tried using the id to deschedule the task, but it doesn't work. I was only able to stop it by making sure the condition is always false.
How can I stop the task using a different Scheduler instance (cause it's using servlets and actionbeans, and I cannot persist the scheduler instance in the database)? Is it even doable?