Re: scheduler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi,
> 
> I am developing a web application in PHP, the db is mysql.
> 
> I want to develop something like a batch file, which would run everyday,
> query mysql and throw the output to another table which would then perform
> some additional functions.
> 
> Is something like this possible?? i am working on windows thats why said a
> batch,but not rigid about the batch, it cud even be Java.

Not only possible but very simple. Just write the php as normal and use
Windows' Scheduler to run it with something like:

C:\php\php.exe C:\path\to\script.php

I have several scripts like this scheduled to do basic maintenance work
or carry out automated tasks.

> Thanks,
> Vinay

--
Niel Archer
niel.archer (at) blueyonder.co.uk



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux