Cron Expression for First and Last Day of Month
Run a task on the first and last day of every month
Cron Expression
0 0 1,L * *
Understanding this Expression
This cron expression consists of 5 fields that specify when your task will run:
Minutes
0
At the start of the hour
Hours
0
At midnight
Day of Month
1,L
At 1 and L
Month
*
Any value
Day of Week
*
Any value
Summary
This schedule will run your task run a task on the first and last day of every month.