cronjobs not running.

hi friends,

how to check if the cronjobs is not running and how to make it run again.

  1. To determine if your cron job is running:
    Read the contents of /var/cron/log.

Do not restart cron unless you are sure that:
a: your script has been written correctly
b: the output that you are expecting has been directed to the correct location

To determine if cron is running:

ps -ef | egrep cron
-or-
ps -ef | grep cron

To restart cron:

Solaris 10: svcadm refresh cron
Solaris 9: /etc/rc.d/S75cron stop
Solaris 9: /etc/rc.d/S75cron start