I am an Admin for a Content Management application that is hosted on an AIX machine and i am supposed to come up with a cronjob that runs every monday at 03:00 am.
The current schedule of that cron job is :
3 * * 1,3,5 /path/of/script.sh
But i do not know how to understand this
Can someone tell me what that schedule means and what must it be changed to for running every Monday.
The crontab File Entry Format
A crontab file contains entries for each cron job. Entries are separated by newline characters. Each crontab file entry contains six fields
separated by spaces or tabs in the following form:
minute hour day_of_month month weekday command
These fields accept the following values:
minute
0 through 59
hour
0 through 23
day_of_month
1 through 31
month
1 through 12
weekday
0 through 6 for Sunday through Saturday
command
a shell command
---------- Post updated at 03:38 PM ---------- Previous update was at 03:36 PM ----------
So with ctsgnb correction, you have 3am every Monday.