PDA

View Full Version : Scheduling a cron job


Rocky
4th March 2006, 20:47
I've created a file, /usr/local/bin/dynIP.sh, that will update my dynamic ip. I need to schedule a cron job for it to run every 30mins. Would adding this:

*/30 * * * * root /usr/local/bin/dynIP.sh

to my /etc/crontab file work? Also, is there a way for me to know that the file actually ran?:confused:

Rocky
5th March 2006, 02:06
I figured it out guys. Thank.:)