11
Perhaps you could simply allow the cron to run on the same schedule, but add supplementary code within the method body to check for holidays and exit early.
Perhaps you could simply allow the cron to run on the same schedule, but add supplementary code within the method body to check for holidays and exit early.
I second @tiramichu@lemm.ee answer. Store the upcoming holidays somewhere and just exit if it is one.
For discussing Java, the JVM, languages that run on the JVM, and other related technologies.