Re: Execute at a defined time
| From: | Andrew Brampton | Date: | Wed, 05 Feb 2003 14:09:15 +0000 |
| Subject: | Re: Execute at a defined time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134406@lists.php.net to get a copy of this message | ||
If you have PHP compiled as cgi then you can run something like:
php /path/to/my/script.php
or if you can request the page via your website with something like:
lynx -dump "http://your site.com/yourscript.php"
Also if you want to know how to use cron, try typing "man cron" in your
shell
Hope this helps
Andrew
----- Original Message -----
From: "Miguel Brás" <molino26@netcabo.pt>
To: <php-general@lists.php.net>
Sent: Wednesday, February 05, 2003 1:49 PM
Subject: [PHP] Execute at a defined time
> Hi,
>
> I was looking on PHP manual but didn't find anything about it.
>
> How can I execute a script all days at the same time? I kno i must have
> access to the CRON of the system, but don't know what function should I
use
> to make this happen (run the script).
>
> Miguel
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>