Cron Tab entries

Hi All,

I am required to make a crontab entry, I have the below requirement:

1. It should execute at 06:15 12:00 and 18:30
2. It should execute every day of the month for all the 30 days

I am going to add the below entry in the crontab file.

15,0,30 6,12,18 * * 0-6 cd path_of_the_path ; ./script_name

As this is a critical script for my application, we do not require to mess it up even for a single time.

Please advise if it will work fine.

Cheers,
Shazin

That would run your script at 06:00, 06:15, 06:30, 12:00, 12:15, ....

Better add this:

15 6 * * * /path/of/script/script_name
0 12 * * * /path/of/script/script_name
30 18 * * * /path/of/script/script_name
  1. it will execute at 0,15,30 of all the three hours.

  2. if you dont want do mess up, test before making it live.

Hi All,

Many thanks...

Cheers,
Shazin