As the title says, I’m trying to schedule Long SMART Tests on the first Saturday of every month. However, it doesn’t seem like I’m able to set the desired cron schedule using the TueNAS SCALE Web UI.
I’m wondering if it’s a limitation of cron itself. I’ve read that there are newer versions of cron out there that can do the following with #. For example:
“At 02:00 on the first Saturday of the month.”
0 2 * * 6#1
This doesn’t work on The SCALE UI though.
Would you guys recommend setting up the cron via the CLI?
@stux I remembered the same and was just about to do the search and say the same thing myself.
I guess this is a reminder for us all to put in the effort and search for an existing answer rather than transferring the effort onto others by asking the same question yet again.
So any way to execute the code first saturday only of every month?
0 0 1-7 ** doesn’t work will execute every day from 1 to 7 of every month
0 0 1-7 * Sat will execute like above and every saturday
0 0 */100,1-7 * sat will run first day of every month doesn’t matter if its sunday, monday,…