scheduling in PHP

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I've script (or a php file) in the server that I like to execute at 8.00 in
the morning every day.
(It will check info in the DB and send emails.)

Any Idea about how I can do it.

Re: scheduling in PHP

*** toufik toufik escribió/wrote (Wed, 25 Aug 2004 17:34:32 -0400):
Quoted text here. Click to load it

The easiest way is to use cron (given that it's a Unix/Linux server).
Create a crontab entry for the script and you're done.

Of course, you need that your hosting company gives you that possibility
(or, of course, full access).

-+ Álvaro G. Vicario - Burgos, Spain - ICQ 46788716
+- (la web de humor para mayores de 100 años)
++ «Sonríe, que te vamos a hacer una foto para la esquela»

Re: scheduling in PHP

Alvaro G. Vicario wrote:

Quoted text here. Click to load it

....and if not you can invoke a URL remotely using wget, curl, php and


Re: scheduling in PHP

Use a crontab. However, most hosting companies do not allow to run cron jobs.
Tech News That Matters

Quoted text here. Click to load it

Re: scheduling in PHP

Peter Ho wrote:

Quoted text here. Click to load it /

"La demande mondiale d’ordinateurs n’excédera pas cinq machines."
(Thomas Watson, Fondateur d'IBM, 1945)

Site Timeline