View Single Post
  #2  
Old October 22nd, 2002, 11:48 PM
jwalk76 jwalk76 is offline
Registered User
 
Join Date: Oct 2002
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
jwalk76 is on a distinguished road
ps -ax | grep cron

will tell you if the daemon is running. unfortunately, i'm only running 10.1.5, so i'm not sure if your installation is different. i can say that i don't think they would remove cron from the default install as it's highly useful.

###### to test if cron works make a simple script called test.sh:

#!/bin/sh
ps -ax > /Users/your_user_name/testresults

###### set the right permissions on the script:

chmod 700 /Users/your_user_name/test.sh

###### open your crontab with:

crontab -e

###### once your editor launches type this:

* * * * * /Users/your_user_name/test.sh

once the system clock ticks forward a minute check your home directory for the testresults file that should contain the output of the command ps -ax. don't forget to disable the cron job when your done testing.
Reply With Quote