Koozali.org: home of the SME Server

Running Custom cron jobs

adam hampton

Running Custom cron jobs
« on: February 08, 2002, 03:35:20 AM »
I am using a log analyzer for my day of defeat server. I need some guidance on setting up a cron job to run this script. Can anyone point me in the right direction to do it on a esmith ver 5

Gav

Re: Running Custom cron jobs
« Reply #1 on: February 08, 2002, 06:33:58 PM »
At command type:- crontab -e (which means we are creating a new cron) i take it you know how to use VI editor, once in the new cron you can add something like:

00 05 * * /whereeva script is/test

then exit out and type at command prompt crontab -l (which lists the jobs)

00 is the minutes set too
05 is the hour set too
* is day set too
* is month set too
/where....... is the directory of where the script is


I hope this helps???


Gavin

Adam Hampton

Re: Running Custom cron jobs
« Reply #2 on: February 08, 2002, 09:33:39 PM »
THANKS I WILL CHECK IT OUT