views:

843

answers:

3

Title sums it up, I know little about how I will do this.


See also:

http://stackoverflow.com/questions/120228/php-running-scheduled-jobs-cron-jobs

+2  A: 

The easiest way I know is a simple cron job.

http://man.cx/cron

Sietse
A: 

**PHPCron: Running scheduled tasks from PHP on a web server**

But PHPCron is temporarily not available from there. You might need to look somewhere else

Prakash
+1  A: 

Use your operating system's scheduled tasks facility. crontab on unix, scheduled tasks on windows.

Then we have some more considerations:

  1. Do you want to schedule tasks through a PHP script that adds stuff to the main OS way to schedule tasks? or
  2. Do you want to have a long running php process that will run things at determined times?

For 1, on Unix, you can use something like this module that will do.

For 2, you can use something like this other module.

Vinko Vrsalovic