[thelist] php timer

Carlos Costa Portela ccosta at servidores.net
Sat Jul 19 16:18:27 CDT 2003


	You can do that in php, of course, if you have php installed so
you can run it from command line. Use cron to get what you want. Something
like this (crontab entry):

30 15 * * * /usr/local/bin/php myscript.php

where myscript.php is your php script, and /usr/local/bin is the path to
your php executable. The script will be executed at 15:30 everyday

	Hope this helps,
		Carlos.

 On Sat, 19 Jul 2003, Charles Cattell wrote:

> i need to know if there is a way to automatically trigger a php script at a
> certain time everyday, regardless of site activity, ect. i was told by a
> co-worker that this is impossible in php, but maybe possible in c, but we
> have no knowledge of c at all, or to set a command in the unix system to run
> the script... any suggestions would be helpful, but i would prefer the php
> way if it is possible
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> Evolt.org conference in London, July 25-27 2003.  Register today at http://evolt.org.uk
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
>

       [ http://www.biologia.org/ :: portal especializado en Biología ]
 _______Carlos Costa Portela_________________________________________________
| e-mail:  ccosta at servidores.net | home page: http://casa.ccp.servidores.net |
|_____Tódalas persoas maiores foron nenos antes, pero poucas se lembran______|



More information about the thelist mailing list