Printer FriendlyEmail Article Link

UNIX: What is the syntax for a CRONTAB entry?

Environment/Versions
  • AIX or HP UNIX Crontab
Answer

#minute (0-59),
#| hour (0-23),
#| | day of the month (1-31),
#| | | month of the year (1-12),
#| | | | day of the week (0-6 with 0=Sunday).
#| | | | | commands
0 2 * * 0,4 /etc/cron.d/logchecker

Examples:
45 4 * * * /hekimian/react/mail/hlisys/mwwCkt

45 4 * * * /hekimian/react/mail/hlisys/mwwCkt 2>/dev/null
 


Product : UNIX