Results 1 to 2 of 2
Hello All,
I am very new to this linux thing but would like to know how the command for seeing any cron scripts are running on a linux box and ...
- 09-20-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 2
how do i know cron scripts are running
Hello All,
I am very new to this linux thing but would like to know how the command for seeing any cron scripts are running on a linux box and how do I set up a *.php script to run as a cron script.
many thanks
JD
- 09-21-2007 #2Just Joined!
- Join Date
- Sep 2007
- Location
- Lafayette, IN
- Posts
- 83
As with most things Linux, there are several different ways to accomplish your goal. One way is that if your cron jobs produce output, you can put the following line in your crontab
MAILTO=username@domain.com
Of course, substituting your actual e-mail address. Another way is to look in the logs. By default on Red Hat/Fedora distros, the cron events are logged to /var/log/cron.


Reply With Quote