Re: Run a PHP script as CroneJob
| From: | jeremy brand | Date: | Mon, 01 Jan 2001 18:58:21 +0000 |
| Subject: | Re: Run a PHP script as CroneJob | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32383@lists.php.net to get a copy of this message | ||
FYI, php -h is nice too. you can see the other options as well.
:)
Jeremy
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"<body>" -- Quoted from Yahoo! homepage, http://www.yahoo.com
On Mon, 1 Jan 2001, David Bouw wrote:
> Date: Mon, 1 Jan 2001 19:51:13 +0100
> From: David Bouw <david@iswiejijzoekt.nl>
> To: jeremy brand <jeremy@nirvani.net>
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Run a PHP script as CroneJob
>
> Thanks, I always direct all output to NULL... (php3.cgi script.php
> >/dev/null)
> This was my trick to prevent cron from emailing me...
>
> But the -q option is nice to know...
>
> Bye Bye
>
>
> > -q suppresses the HTTP header output. Thus in a cronjob, if there is
> > any output from your script, that output will get emailed to you.
> >
> > Jeremy
> >
> > Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 ::
> jeremy@nirvani.net
> > http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
> > for more
> > Get your own Free, Private email at http://www.smackdown.com/ýç Ÿ{
> > …ÚJ<§I¸
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > "<body>" -- Quoted from Yahoo! homepage,
> > http://www.yahoo.com
> >
> > On Mon, 1 Jan 2001, David Bouw wrote:
> >
> > > Date: Mon, 1 Jan 2001 10:27:55 +0100
> > > From: David Bouw <david@iswiejijzoekt.nl>
> > > To: jeremy brand <jeremy@nirvani.net>
> > > Cc: php-general@lists.php.net
> > > Subject: Re: [PHP] Run a PHP script as CroneJob
> > >
> > > I am using php a lot in cron-jobs to do some tasks for me...
> > > But then without the -q option... What does this do.? Unlimited
> execution
> > > time..??
> > >
> > > Bye Bye
> > > David
> > >
> > > > > befor we had a perl script, this we had executed with "perl
> > > scriptname.pl"
> > > > > in the cronjob.
> > > >
> > > > It is glaringly obvious.
> > > > "php -q scriptname.php"
> > > >
> > > > If you don't have "php" then compile it from source. :)
> > > >
> > > > And, PS, is has been discussed.
> > > >
> > > > :)
> > > > Jeremy
> > > >
> > > > Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 ::
> > > jeremy@nirvani.net
> > > >
> > > > http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
> > > > Get your own Free, Private email at
> > > > http://www.smackdown.com/
> > > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > > > "<body>" -- Quoted from Yahoo! homepage,
> > > > http://www.yahoo.com
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > > For additional commands, e-mail: php-general-help@lists.php.net
> > > > To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
> > > >
> > > >
> > >
> > >
> >
> >
>
>