Creating a Cron Job

tdldp

Verified User
Joined
May 9, 2005
Messages
150
Hi all,

I'm a bit newbie in this, but willing to learn.

On a site in project, i need to put a script that every week, processes a check in the database for criteria's that are met, in that case, sends back a mail message, and updates database with found results, and this automatically

Up to know this script works in beta test by calling it directly in web crawler, but i'd like to put ip up automatically on server.
I suppose this goes by creating a cron job, that would call process.php.

My question is :

How do i put up this job ??? how do i call it ??? what are usual cron commands ??? how can i control it effectively processes ???

Thks for your answers...

Tdldp
 
Login to DA, user level, there's a menu item called 'cron jobs' :).

Please do note you have to direct your output (if any) somewhere, otherwise it starts to send e-mails every time it's ran ;).
(Even if the output is just a few emtpy lines)

The DA interface to cronjobs is easy to understand, if you're a linux console lover, and have ssh access, you can also call it up by using 'crontab -e', however, i don't recommend that, as it's generally not meant for users (no offence, but DA's interface is better to understand).
 
Back
Top