RE: [PHP] Urgent help required for using Cron

2003-08-29 Thread Safal Solutions
/root rename: is a directory crontab: edit left in /tmp/crontab.1885 It did not work. Please suggest what to do next? Regards Siva -Original Message- From: Javier Tacon [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 5:17 PM To: Safal Solutions Subject: RE: [PHP] Urgent help

RE: [PHP] Urgent help required for using Cron

2003-08-29 Thread Javier Tacon
: viernes, 29 de agosto de 2003 3:37 Para: PHP General; Javier Tacon CC: Bimal Jain Asunto: RE: [PHP] Urgent help required for using Cron Dear Javier, We have done the following as per your suggestion 15 17 * * * /path/to/your/php/binary /path/to/your/script.php After editing and saving crontab

Re: [PHP] Urgent help required for using Cron

2003-08-28 Thread [EMAIL PROTECTED]
Hi briefly: you need to create a cron job by typing crontab -e at the command line. each line in the crontab has five fields which define the time at which the cron job will run. more info in man cron and man crontab. Cron sends a mail to the owner of the job when a job fails. you can pipe it

RE: [PHP] Urgent help required for using Cron

2003-08-28 Thread Jay Blanchard
[snip] I have to send mail to people automatically at specified time . Our environment is RedhatLinux 7.3 , Apache ,mysql and php. I am writing a program in php to send the mail if some Condition is met. I want to activate this program at specified time using cron facility. So, How can we do

RE: [PHP] Urgent help required for using Cron

2003-08-28 Thread Javier Tacon
For example, you want execute a script every day at 09:00 am: $ crontab -e And put this line: 0 9 * * * /path/to/your/php/binary /path/to/your/script.php Crontab only can say if the cron was executed correctly or not, but it doesn't say if your script in php has sent the mail correctly or not.