LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to make cron? (https://www.linuxquestions.org/questions/linux-software-2/how-to-make-cron-474240/)

arcow 08-15-2006 08:36 PM

how to make cron?
 
i want to make a cron to execute a file "test.php"
i want to execute it at 04:00 every day,how can i do it on my redhat 9?

w3bd3vil 08-15-2006 08:40 PM

crontab -e
0 04 * * * /your/php/file/test.php
hit :wq to save and exit
restart cron, service crond restart or reboot.

arcow 08-16-2006 01:04 AM

how to restart cron?
i don't know cron.so i hope the detail operation?thanks


All times are GMT -5. The time now is 05:21 PM.