Re: cron with php as apache module
| From: | Paul Roberts | Date: | Fri, 22 Mar 2002 20:16:27 +0000 |
| Subject: | Re: cron with php as apache module | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-89742@lists.php.net to get a copy of this message | ||
ok
for lynx, at the command prompt i get
bash: lynx: command not found
I've also looked in all the obvious places for php but can't find it.
the server is a cobalt raq 3 and i have a virtual host account so i can't recompile php.
maybe I'll rewrite it in Perl.
Paul Roberts
roberts_paul@bigfoot.com
++++++++++++++++++++++++
----- Original Message -----
From: "Analysis & Solutions" <danielc@analysisandsolutions.com>
To: "PHP List" <php-general@lists.php.net>
Sent: Friday, March 22, 2002 7:26 PM
Subject: Re: [PHP] cron with php as apache module
> Even if you can't get, or don't want to bother getting, PHP as a
> standalone CGI type program, you can still execute via crontab. Make a
> web page that you want to have run, then put something along the lines
> of:
>
> lynx http://localhost/scriptname.php
>
> as the command in the crontab file. Do note, you'll likely need to take
> steps to protect the script from being run by people you don't want
> touching it. You could use SSL, cookies and REMOTE_ADDR, among other
> things to accomplish that.
>
> --Dan
>
> --
> PHP scripts that make your job easier
> http://www.analysisandsolutions.com/code/
> SQL Solution | Layout Solution | Form Solution
> T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>