Sorry i didnt mention that the website sits on a windows platform machine.
The windows scheduled tasks manager works the same as cron. You can set up the task to run your php script.
If you want a purely web based solution take a look at this article in my blog:
http://fijiwebdesign.com/content/view/86/77/
You could use the method mentioned there, with a bit of php like:
pseudo code:
[PHP]$query = "select from my_tasks where time < time() and complete = false".
$uncomplete_tasks = query($query);
foreach ( $uncomplete_tasks as $task) {
// carry out task
// for example if you list php scripts to run.. do something like
exec("wget http://example.com/$task.php");
// then update the database, task success, or fail etc.
}[/PHP]
Last edited by digital-ether; Nov 3rd, 2006 at 4:45 am. Reason: typo
Reputation Points: 457
Solved Threads: 101
Nearly a Posting Virtuoso
Offline 1,250 posts
since Sep 2005