Page 1 of 1

batch file to be executed at regular intervals

Posted: Wed Aug 26, 2009 3:18 am
by sobha
I wish to execute a mysql querry at regular intervals .....precisely every half an hour....So how should i go about it using php...i want the batch file to be executed at regular intervals....any external process or application that will invoke it?????

Re: batch file to be executed at regular intervals

Posted: Wed Aug 26, 2009 4:25 am
by Mark Baker
cron on *nix, or admin/scheduled tasks on a windows server

Re: batch file to be executed at regular intervals

Posted: Wed Aug 26, 2009 7:07 pm
by sobha
Hi

I used echo exec('C:/start.bat'); to execute the batch file.But it is not showing the output.

Please help.

Regards,
Sobha