Re: Re: Running PHP as a cron job....

From: Date: Tue, 10 Jul 2001 07:39:58 +0000
Subject: Re: Re: Running PHP as a cron job....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-57101@lists.php.net to get a copy of this message
manohark@elgi.jet.co.in (Manohar.K) wrote: > Hi > Can I have this cron scripts please? > Thanks > Manohar just do something like: 59 23 * * * wget --quiet http://www.fsck.dk/script.php > /dev/null or 0 10 * * * lynx -dump http://www.fsck.dk/script.php > /dev/null > > -----Original Message----- > From: Ben Bleything [mailto:bleythbe@mailbox.orst.edu] > Sent: Tuesday, July 10, 2001 4:20 AM > To: Chadwick, Russell > Cc: 'php-general@lists.php.net' > Subject: RE: [PHP] Re: Running PHP as a cron job.... > > Someone yesterday also suggested putting them in a > web-accessible location, but having lynx come by and run > them. > > That seemed pretty cool => > > Good luck, > Ben > > Quoting "Chadwick, Russell" <rchadwick@miva.com>: > >> >> You can still run php... I put my cron scripts >> in a directory on the web >> server, just makes sure they are all safe to run >> multiple times in case >> someone finds it >> >> then make a script that for each entry in that >> directory invokes the script. >> mines in python so you just >> import urllib >> >> and then for each file in the directory >> urllib.urlopen ('<server >> name>/cron/<whatever>.php') >> >> and make it run your python script nightly and >> it will run any php script >> you put in that directory. >> >> -----Original Message----- >> From: James, Yz [mailto:liljim@btconnect.com] >> Sent: Monday, July 09, 2001 3:54 PM >> To: php-general@lists.php.net >> Subject: [PHP] Re: Running PHP as a cron >> job.... >> >> >> Thanks for all of your help on this. My host >> admin have informed me that >> php is installed only for the web, and not as a >> cgi, so that's what was >> going wrong (it wasn't down to my own naievity >> afterall.....) >> >> So, it's time to learn perl (or bash). >> >> Thanks again for all your comments and help. >> >> James. >> >> >> >> -- >> 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 >> >> -- Henrik Hansen

« previous php.general (#57101) next »