Samples JDK
package-info.java
1 /**
2  * \brief Cron expression is used to define the constraints
3  *
4  * Cron expression is used to define the constraints. Say we don't want to run a piece of code at some time.
5  * We can define that time period in a cron expression and can then check whether the current time satisfy the cron. If it does that means
6  * it is not a valid time and we need to pause the computation. We can then fetch the next invalid time from cron and can do a sleep for that
7  * duration.
8  */
9 package com.freemindcafe.quartz.sample1;