Re: scheduler

From: Date: Wed, 23 Sep 2009 12:10:32 +0000
Subject: Re: scheduler
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-46529@lists.php.net to get a copy of this message
> 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

« previous php.db (#46529) next »