Bug #2217: Internal Task Scheduler

From: Date: Thu, 02 Sep 1999 13:44:39 +0000
Subject: Bug #2217: Internal Task Scheduler
Groups: php.dev 
Request: Send a blank email to php-dev+get-10444@lists.php.net to get a copy of this message
From: nikolail@viny.com Operating system: ALL PHP version: 3.0.12 PHP Bug Type: Feature/Change Request Bug description: Internal Task Scheduler Some nice feature to add, I think alot folks would like internal PHP task scheduler, and abbility to submit tasks from within php code, i know you can use cron for that , but to make it os independent something like that should exists inside of PHP. It has to be ran as daemon i think and php should have set of functions to control it like: task_id = task_create(PHP script,period,start_datetime,end_datetime); array tasks = tasks_list(); task_remove(task_id); where period could be "WEEKLY"/"DAYLY"/"HOURLY"/"MONTHLY"/"YEARLY" And could be also some other stuff, so just using: task_create("http://www.test.com/tasks/report.php","WEEKLY",time(),NULL); will submit task to scheduler asking it to execute report.php each week("WEEKLY") starting from right now (time()) until cancel (NULL) Thanks

« previous php.dev (#10444) next »