In linux and Solaris are arranged below crontab Date: 2004/07/30 Author: zcatlinux Source: zclinux
## SET CRONTAB TIME
IF ["$ OS" = "linux"]; then echo "10 3 * * * root /usr/glog.sh" >> / etc / crontab service crd RestartELSE ECHO "10 3 * * * /usr/glog.sh ">> / var / spool / cron / crontabs / root for pid in` ps - EF | GREP CRON | SED -E '/ GREP / D' | awk '{print $ 2}' `do kill -9 $ PID DONE RM -rf /etc/cron.d/fifo / usr / sbin / cronfi