The 1st and 15th of every month: 0 0 1,15 * *
Type a cron expression from a crontab, a Spring @Scheduled method or a
Quartz trigger, and read what it means, when it runs next and how to be told when it does not.
What it means
At 00:00, on the 1st and 15th of the month.
Monitor this job free Marsolen expects its next run Tuesday 1 December 2026 at 00:00, and tells you if it does not come.
How it was read
Five fields: unix cron, as a crontab has it.
The next 5 runs, in UTC
| Tuesday | 1 December 2026 | 00:00 | UTC |
| Tuesday | 15 December 2026 | 00:00 | UTC |
| Friday | 1 January 2027 | 00:00 | UTC |
| Friday | 15 January 2027 | 00:00 | UTC |
| Monday | 1 February 2027 | 00:00 | UTC |
How to know it ran
Create a heartbeat check with this schedule, then append one curl to the job's crontab line, changing only the ping UUID:
0 0 1,15 * * /path/to/job.sh && curl -fsS -m 10 --retry 3 -o /dev/null https://staging.marsolen.com/ping/YOUR-PING-UUID
Cron reads the schedule in the server's own time zone, so give the check the same one. The cron guide says why each part of the line is there.
Monitor a job free - 20 checks, no credit card. An alert when a run is late or fails.
Common expressions
-
* * * * *Every minute -
*/5 * * * *Every 5 minutes -
*/10 * * * *Every 10 minutes -
*/15 * * * *Every 15 minutes -
*/30 * * * *Every 30 minutes -
0 * * * *Every hour -
0 */2 * * *Every 2 hours -
0 */6 * * *Every 6 hours -
0 0 * * *Every day at midnight -
0 3 * * *Every day at 03:00 -
0 0,12 * * *Twice a day, at midnight and noon -
0 9 * * 1-5Weekdays at 09:00 -
*/15 9-17 * * 1-5Every 15 minutes in working hours -
0 9 * * 1Every Monday at 09:00 -
0 0 * * 0Every Sunday at midnight -
0 10 * * 6,0Weekends at 10:00 -
0 0 1 * *The first of every month -
0 0 1,15 * *The 1st and 15th of every month -
0 0 1 1,4,7,10 *The first day of every quarter -
0 0 1 1 *Once a year, on 1 January -
0 0 3 * * *Every day at 03:00 in Spring -
0 */5 * * * *Every 5 minutes in Spring -
0 0 9 * * MON-FRIWeekdays at 09:00 in Spring -
0 0 9 ? * 2-6Weekdays at 09:00 in Quartz