Please help for setup cron job

Prasanth,

I use a PHP script triggered by CRON:

/usr/local/bin/php -q /home/homedir/public_html/cronjob.php

Where /usr/local/bin/php is the location of the PHP executable, -q is a switch (I don’t recall what the switch’s function is) and /home/homedir/public_html/cronjob.php is the PHP file I want to have executed. In my file, though, I have it e-mail the results to me rather than write to a log (which only “burns” more storage space).

Regards,

DK