The 4-Step Schedule Creation Framework
For tasks needing execution at a specific minute (e.g. at 9:30 AM), set Minute to 30 and Hour to 9. For interval execution (e.g. every 15 minutes), use a step: */15.
Decide if the task runs daily (* * *), on specific calendar days (e.g. 1 * * for 1st of month), or on specific weekdays (e.g. * * 1-5 for Monday through Friday).
If deploying to Spring Boot, prepend a 0 for seconds (6 fields). If deploying to Quartz or AWS EventBridge, replace one unused day field with ?.
Always simulate the upcoming 10 executions in your deployment timezone before adding a schedule to production crontabs or CI/CD pipelines.
Standard Schedule Recipes
*/15 9-17 * * 1-5Runs at :00, :15, :30, :45 from 9 AM to 5 PM, Mon-Fri.
0 0 * * *Standard daily log rotation & snapshot schedule.
0 8 * * 1Weekly summary & digest notification trigger.
0 0 1 * *Monthly billing & ledger reconciliation trigger.