cron job misfires

I had a one time cron setup yesterday

say for eg.,

22 04 17 11 5   <job>

By mistake i gave 5 instead of 4. This job happened to run withou any problem even though it was wrong day.

I forgot to comment this cron and today again it ran.

ie., Date is wrong but Day (5) is right.

Is there any precedence theory in cron ??

Just weared.

Can somebody put some light on this ?

thx.

crontab(5)

1 Like

From man man crontab (POSIX):

Read: specifying both a date & a day of the week means the job will run on both occasions.

1 Like

thx for the update.