[EMAIL PROTECTED] (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:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 4:20 AM
> To: Chadwick, Russell
> Cc: '[EMAIL PROTECTED]'
> 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" <[EMAIL PROTECTED]>:
>
>>
>> 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:[EMAIL PROTECTED]]
>> Sent: Monday, July 09, 2001 3:54 PM
>> To: [EMAIL PROTECTED]
>> 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:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>> To contact the list administrators, e-mail:
>> [EMAIL PROTECTED]
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>> To contact the list administrators, e-mail:
>> [EMAIL PROTECTED]
>>
>>
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]