PDA

View Full Version : How do I do Cron Job



Trank
05-05-2004, 12:12 PM
Howdy all

I know this is a simple question, but I just can't seem to get it right. I want a cron job that runs a file every single hour 24/7

I want to run the file at like 1 minute past the hour so it dosen't run at the same time as some other cron jobs I have running and they are running correctly.

Could someone please show me how I put the command in Direct Admin to have the file run every hour.

Thank you for your help.

Trank

jmstacey
05-05-2004, 01:51 PM
http://www.scrounge.org/linux/cron.html

In directadmin you would set it like this:

Minute: 1
Hour: 0-23
and leave everything else the default *

that will run the script on minute 1 of every hour