I have written a PHP based web app that also uses command line php to do a bunch of batch processing tasks such as importing data for integration tasks, output reports in PDF, etc. My batch processing and the UI code share lots of PHP classes, functions, etc. I want to try to avoid porting all of this PHP code I have written to another language.
I have been searching the web for a few days now for a product (preferably open source) that will execute PHP scripts at scheduled times. However I don't want the php scripts to be run by the Windows Task Scheduler or CRON, rather I am looking for a product that invokes the ZEND engine and processes scripts within the same executable. I don't know if this is possible but it would be nice if this launched a thread every time it executed a script. This way if a few scripts were running at once I wouldn't have multiple instances of the php engine running.
I am looking for a rather elegant solution to handle the automation of running PHP scripts because I prefer a tighter integration with my product that cron or win task scheduler offers. Furthermore, I would also like to be able to control all of the properties of automatic script execution such as setting times to run, enable/disable, add a script, etc. from a web interface.
Does anybody know of a product like this? Does anyone have a need for a product like this or does CRON or windows AT serve your purposes OK. Also could this product be written on PHP and run on WIN32?
Thanks for your input and suggestions.