cancel
Showing results for 
Search instead for 
Did you mean: 
huyvl3-fptcloud
Flight Engineer
Flight Engineer
  • 1,057 Views

Crontab miss understood about numeric for "day of week" field?

Teacher said that change 1-5 (Monday to Friday) to Mon-Fri. But I don't understand because it's doest match with /etc/crontab guide. Even I grade my 1-5 value, screen show pass!! So is there any confusion here?

 
 
 
 
Labels (1)
0 Kudos
2 Replies
Fran_Garcia
Starfighter Starfighter
Starfighter
  • 1,043 Views

"man 5 crontab" says .... :

 

"""

The time and date fields are:

field allowed values
----- --------------
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sunday, or use names)

"""

 

What did you configure that shouldn't work, but worked? (or the other way round?).

0 Kudos
huyvl3-fptcloud
Flight Engineer
Flight Engineer
  • 1,032 Views

yes, teacher said that invalid and change to Mon-Fri but i see numeric still fine.

Join the discussion
You must log in to join this conversation.