Re: Set up cron using PHP
| From: | Petar Nedyalkov | Date: | Thu, 07 Oct 2004 13:44:57 +0000 |
| Subject: | Re: Set up cron using PHP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-198829@lists.php.net to get a copy of this message | ||
On Thursday 07 October 2004 16:27, M. Sokolewicz wrote:
> Petar Nedyalkov wrote:
> [snip]
>
> > Your way is better for cronjob use, mine is better if the user needs to
> > deploy the script not only as a cronjob.
>
> [/snip]
> I agree ;)
>
> [snip]
>
> > This workaround is fine, but I think using lynx or any similar browser
> > can save the "rm -f" part.
>
> [/snip]yes... but wouldn't you be stuck with a running shell-instance
> after this? never really tried... so I wouldn't know :)
Try lynx -source http://bu.orbitel.bg for instance.
Then you can catch the output and analyze it - if the php sends an text exit
status, that's fine.
--
Cyberly yours,
Petar Nedyalkov
Devoted Orbitel Fan :-)
---------------------------------------------------------------------
Orbitel - the New Generation Telecom! See www.orbitel.bg.
Attachment: [application/pgp-signature] signature
Attachment: [application/pgp-signature] signature