crontab every 5 min.

Hi running aix 6.1

oslevel 

6100-07-03-1207

I need to confirm that this cron entry is set properly.

I need it set for every 5 min.

0,5,10,15,20,25,30,35,40,45,50,55 * * * * /path/to/script.sh

it does not appear that it is running every 5 min but it did in the beginning.

Yes, it is set correctly.

Column info:
1 = min
2 = hour
3 = day of the month
4 = month
5 = weekday (Sun=0)

1 Like

cron log in available on this file: /var/adm/cron/log

Try

sh -n /path/to/script.sh

to check syntax

Hi ,

Instead of mentioning 0,5,10,.. make it as read by

*/5 * * * * /path/to/script.sh

Try this this will be running every five minutes once :b:

Ahem...

This is the AIX forum! What you have suggested works on Linux (more precisely it works with the widely-used Vixie-cron), but not the AIX cron.

From the crontab man page

bakunin

2 Likes