Just did a fresh install of PVE. Going over the stock cron jobs I found this:
In
Actually works out to the following schedule, as opposed to being the first Sunday of every month as the comment line suggests:
“At 00:24 on every day-of-month from 1 through 7.”
Per https://crontab.guru/#24_0_1-7_*_*
The scrub job in the same file is similarly mismatched. Is the schedule in the comment line, or the schedule in the actual job how it's intended to run?
In
/etc/cron.d/zfsutils-linux
Bash:
# TRIM the first Sunday of every month.
24 0 1-7 * * root if [ $(date +\%w) -eq 0 ] && [ -x /usr/lib/zfs-linux/trim ]; then /usr/lib/zfs-linux/trim; fi
Actually works out to the following schedule, as opposed to being the first Sunday of every month as the comment line suggests:
“At 00:24 on every day-of-month from 1 through 7.”
Per https://crontab.guru/#24_0_1-7_*_*
The scrub job in the same file is similarly mismatched. Is the schedule in the comment line, or the schedule in the actual job how it's intended to run?