Adding day of the week to CRON

Hello,

Is there any way to modify the following CRON to keep date and time the same, but add Tuesday

00 06 26 oct * 2021

Instead of

At 6:00 on day 26 in Oct in 2021

I would like to read At 6:00 on Tuesday 26 in Oct in 2021 (or any variant indicating Tuesday)

I read the wiki but could not find the solution

thank you

image

0 6 * OCT TUE

https://crontab.guru/#0_6_*_OCT_TUE

3 Likes

Sorry there is a misunderstanding. Your CRON is for every Tueday in October. I was asking about just adding Tuesday to a single date and time.

Example instead of:

at 6:00 on 24th October 2021, I would like

at 6:00 on Tuesday 24th October 2021

Which is easier to proof read for errors.

Thanks very much for your post and the link.

1 Like

I found the solution
image

thanks again

2 Likes