Re: Run a PHP script as CroneJob

From: Date: Tue, 02 Jan 2001 21:21:33 +0000
Subject: Re: Run a PHP script as CroneJob
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-32360@lists.php.net to get a copy of this message
The -q switch keeps PHP from printing HTTP headers (which would be mailed to you along with other output if executed as a cron job)... unlimited execution time (which is very handy sometimes) can be acheived with set_time_limit(0). Toby Butzon [ criticism spurs improvement ] ----- Original Message ----- From: "David Bouw" <david@iswiejijzoekt.nl> To: "jeremy brand" <jeremy@nirvani.net> Cc: <php-general@lists.php.net> Sent: Monday, January 01, 2001 4:27 AM 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 : > : > : : : -- : 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 : :

« previous php.general (#32360) next »