Re: [CentOS] how to set term environment for cronjobs?

2008-10-02 Thread Kai Schaetzl
Rudi Ahlers wrote on Wed, 1 Oct 2008 15:37:54 +0200: wget downloaded the whole website which was like 23MB everytime, then you added parameters you shouldn't have added. A simple wget URL downloads only that document and nothing else. Kai -- Kai Schätzl, Berlin, Germany Get your web at

Re: [CentOS] how to set term environment for cronjobs?

2008-10-01 Thread Rudi Ahlers
On Wed, Oct 1, 2008 at 7:06 AM, Les Mikesell [EMAIL PROTECTED] wrote: Rudi Ahlers wrote: On Wed, Oct 1, 2008 at 12:37 AM, Filipe Brandenburger [EMAIL PROTECTED] wrote: Hi, On Tue, Sep 30, 2008 at 16:30, Rudi Ahlers [EMAIL PROTECTED] wrote: I simply need to call 2 php scripts via a

Re: [CentOS] how to set term environment for cronjobs?

2008-10-01 Thread Bent Terp
On Wed, Oct 1, 2008 at 1:29 PM, Rudi Ahlers [EMAIL PROTECTED] wrote: wget downloads the whole page every time, which wastes bandwidth HDD space. Apart from using the /dev/null option, is there any other way to use it? wget -O- and then devnull :-) curl --silent is quite nice as well

Re: [CentOS] how to set term environment for cronjobs?

2008-10-01 Thread Les Mikesell
Rudi Ahlers wrote: On Wed, Oct 1, 2008 at 7:06 AM, Les Mikesell [EMAIL PROTECTED] wrote: Rudi Ahlers wrote: On Wed, Oct 1, 2008 at 12:37 AM, Filipe Brandenburger [EMAIL PROTECTED] wrote: Hi, On Tue, Sep 30, 2008 at 16:30, Rudi Ahlers [EMAIL PROTECTED] wrote: I simply need to call 2 php

Re: [CentOS] how to set term environment for cronjobs?

2008-10-01 Thread Rudi Ahlers
On Wed, Oct 1, 2008 at 2:55 PM, Les Mikesell [EMAIL PROTECTED] wrote: Rudi Ahlers wrote: On Wed, Oct 1, 2008 at 7:06 AM, Les Mikesell [EMAIL PROTECTED] wrote: Rudi Ahlers wrote: On Wed, Oct 1, 2008 at 12:37 AM, Filipe Brandenburger [EMAIL PROTECTED] wrote: Hi, On Tue, Sep 30, 2008 at

Re: [CentOS] how to set term environment for cronjobs?

2008-10-01 Thread John R Pierce
Rudi Ahlers wrote: I got lynx to work with the --dump option, and now the errors are gone, and the cronjob works well. wget downloaded the whole website which was like 23MB everytime, whereas lynx gave me the output, which is more usable for trouble shooting the cronjob. wget should only

[CentOS] how to set term environment for cronjobs?

2008-09-30 Thread Rudi Ahlers
Hi, I'm running a crontjob on CentOS 5.2 server, which then connects to a webpage to run some stuff. It has to run this way, since the webpage is on a Windows server, and the Windows scheduled tasks doesn't work as well. It seems like the cronjob is working fine, except that the email output

Re: [CentOS] how to set term environment for cronjobs?

2008-09-30 Thread Bill Campbell
On Tue, Sep 30, 2008, Rudi Ahlers wrote: Hi, I'm running a crontjob on CentOS 5.2 server, which then connects to a webpage to run some stuff. It has to run this way, since the webpage is on a Windows server, and the Windows scheduled tasks doesn't work as well. It seems like the cronjob is

Re: [CentOS] how to set term environment for cronjobs?

2008-09-30 Thread Kai Schaetzl
Rudi Ahlers wrote on Tue, 30 Sep 2008 17:44:02 +0200: It has to run this way, since the webpage is on a Windows server, and the Windows scheduled tasks doesn't work as well. I'd rather look there why it doesn't work for you. Scheduled tasks works just fine on my Windows servers. I'm not

Re: [CentOS] how to set term environment for cronjobs?

2008-09-30 Thread Rudi Ahlers
On Tue, Sep 30, 2008 at 6:31 PM, Kai Schaetzl [EMAIL PROTECTED] wrote: Rudi Ahlers wrote on Tue, 30 Sep 2008 17:44:02 +0200: It has to run this way, since the webpage is on a Windows server, and the Windows scheduled tasks doesn't work as well. I'd rather look there why it doesn't work for

Re: [CentOS] how to set term environment for cronjobs?

2008-09-30 Thread Filipe Brandenburger
Hi, On Tue, Sep 30, 2008 at 16:30, Rudi Ahlers [EMAIL PROTECTED] wrote: I simply need to call 2 php scripts via a website - very simple todo, but cron tends to give me these errors for some odd reason, and the scripts doesn't run on the remote website. How are you calling these scripts from

Re: [CentOS] how to set term environment for cronjobs?

2008-09-30 Thread Kai Schaetzl
Rudi Ahlers wrote on Tue, 30 Sep 2008 22:30:29 +0200: I simply need to call 2 php scripts via a website - very simple todo, but cron tends to give me these errors for some odd reason, and the scripts doesn't run on the remote website. People usually use wget for triggering such tasks, have

Re: [CentOS] how to set term environment for cronjobs?

2008-09-30 Thread Rudi Ahlers
On Wed, Oct 1, 2008 at 12:37 AM, Filipe Brandenburger [EMAIL PROTECTED] wrote: Hi, On Tue, Sep 30, 2008 at 16:30, Rudi Ahlers [EMAIL PROTECTED] wrote: I simply need to call 2 php scripts via a website - very simple todo, but cron tends to give me these errors for some odd reason, and the

Re: [CentOS] how to set term environment for cronjobs?

2008-09-30 Thread Les Mikesell
Rudi Ahlers wrote: On Wed, Oct 1, 2008 at 12:37 AM, Filipe Brandenburger [EMAIL PROTECTED] wrote: Hi, On Tue, Sep 30, 2008 at 16:30, Rudi Ahlers [EMAIL PROTECTED] wrote: I simply need to call 2 php scripts via a website - very simple todo, but cron tends to give me these errors for some odd