A message for Linux.com registered users: We are in the process of making changes to the Linux forums. From Monday, 8/13/18 at 6:00 PM PT to Tuesday, 8/14/18 at 4:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Tuesday, 8/14/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

May 3, 2012

crontab not working

Forums: 

Hi,
I need to start couple of services regularly (once a day), I have set it as below, but its not executing. Kindly assist.
below is the setup

[root@auth ~]# crontab -l

# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)

# | | .---------- day of month (1 - 31)

# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...

# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR

#sun,mon,tue,wed,thu,fri,sat

# | | | | |

# * * * * * command to be executed

52 10 * * * /etc/init.d/dirsrv-admin restart &&

53 10 * * * /etc/init.d/dirsrv restart &&

Note: flavour: fedora 11

Thanks,
linuxque

Click Here!