I had a requirement for writing a cron job in Java using Quartz api. I finished it, but I had to wait before I start running it at the scheduled interval as there were some other dependencies that were yet to be resolved. So I needed a cron job expression that wouldn’t run at all. So what I did was add the below cron expression in the property file:
Quartz Cron Expression That Will Never Run
Leave a reply