I’ll introduce crontab settings that consider Pacific Daylight Time (PDT) daylight saving time.
“Tasks that run on the 25th of every month” is something you often hear about on the business side.
It would be fine if you only deal with Japan time, but for services provided overseas, you need to consider the one-hour shift due to daylight saving time, which increases what you need to account for.
Here’s an example crontab description considering October 2017 and later:
# Execute your_script.sh at 0:00 (PT) on the 26th of every month
0 7 26 3-10 * your_script.sh
0 8 26 11,12,1,2 * your_script.sh
That’s all from the Gemba, where I need to write crontab considering daylight saving time.