PDA

View Full Version : How to install a cronjob vor ucj1.3


ragnar
11-21-2000, 09:13 AM
hi there i have a big problem with a script i don't know how to set-up a cronjob for ucj13 can somebody help me please


Ragnar

Filipe
11-21-2000, 09:48 AM
Don't be lazy and use the search option. That's what I did when I needed it.

Shannon
11-21-2000, 06:01 PM
Create a new file named work.run and put this line in it..

00 0 * * * /fullpathto/cgi-bin/yourscript.cgi

Be sure you give the correct path to the file you want to run via your cron or the server admin or you will recieve e-mails if its done incorrectly...hehe

This will run yourscript.cgi everynight at 12 am. Change the 00 and * to whenever you want the script to be updated accordingly.

Now upload this file (work.run) to your server. Telnet into your account and go to the directory you uploaded work.run into

Type: crontab work.run

This should set your cron job, to make sure type crontab -l

Hope it helps..

Best Of Luck : )