Re: [gentoo-user] Re: fcron fetchmail procmail and the why not?

2009-09-21 Thread Johám-Luís Miguéns Vila
meino.cra...@gmx.de writes:

 Harry Putnam rea...@newsguy.com [09-09-21 04:25]:
 Ward Poelmans wpoel...@gmail.com writes:
 
  On Sun, Sep 20, 2009 at 17:34,  meino.cra...@gmx.de wrote:
 
  When using the line:
 
     @ 5 fetchmail -a
 
  nothing happens: The mail remains on the server and can be downloaded
  with
 
     fetchmail -a
 
  from the commandline.
 
  May be I am a little overhacked today...but what the hack I am doing
  wrong here?
 
  Are you sure the cron job runs? Check the logs. Or try adding:
  */5 * * * * fetchmail -a
  in your cron file.
 
 Another way to go at it might be to use fetchmails' built in daemon
 mode (fetchmail -d INTERVAL).  And forget about cron.
 
 

 fcron does run (see my previous mail).
 I will try the daemon mode. What will be the best place to fire up
 fetchmail then?
 ...but I am still curious what prevents the call by fcron, since this
 is also recommended by some howtos...

Have you tried to write a shell script calling fetchmail and call that from 
fcron?

@ 5 /wherever/your/script/is.sh
-- 
I loathe people who keep dogs.  They are cowards who haven't got the guts
to bite people themselves.
-- August Strindberg
 - This message may be digitally signed: GPG KeyID:0x9D2FD6C8 || FNMT SSL cert



Re: [gentoo-user] Re: fcron fetchmail procmail and the why not?

2009-09-21 Thread meino . cramer
Johám-Luís Miguéns Vila galiza.ce...@gmail.com [09-09-21 17:13]:
 meino.cra...@gmx.de writes:
 
  Harry Putnam rea...@newsguy.com [09-09-21 04:25]:
  Ward Poelmans wpoel...@gmail.com writes:
  
   On Sun, Sep 20, 2009 at 17:34,  meino.cra...@gmx.de wrote:
  
   When using the line:
  
      @ 5 fetchmail -a
  
   nothing happens: The mail remains on the server and can be downloaded
   with
  
      fetchmail -a
  
   from the commandline.
  
   May be I am a little overhacked today...but what the hack I am doing
   wrong here?
  
   Are you sure the cron job runs? Check the logs. Or try adding:
   */5 * * * * fetchmail -a
   in your cron file.
  
  Another way to go at it might be to use fetchmails' built in daemon
  mode (fetchmail -d INTERVAL).  And forget about cron.
  
  
 
  fcron does run (see my previous mail).
  I will try the daemon mode. What will be the best place to fire up
  fetchmail then?
  ...but I am still curious what prevents the call by fcron, since this
  is also recommended by some howtos...
 
 Have you tried to write a shell script calling fetchmail and call that from 
 fcron?
 
 @ 5 /wherever/your/script/is.sh
 -- 
 I loathe people who keep dogs.  They are cowards who haven't got the guts
 to bite people themselves.
   -- August Strindberg
  - This message may be digitally signed: GPG KeyID:0x9D2FD6C8 || FNMT SSL cert

No I havent, since I see no difference to calling a real executable
-- but I will give it try.
By the way: Calling fetchmal -d from ~/.openbox/autostart.sh also does
not work, but other programs started from there do have no problems.




-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Re: fcron fetchmail procmail and the why not?

2009-09-21 Thread Ward Poelmans
On Mon, Sep 21, 2009 at 17:43,  meino.cra...@gmx.de wrote:
 By the way: Calling fetchmal -d from ~/.openbox/autostart.sh also does
 not work, but other programs started from there do have no problems.

Try running fetchmail -d -v --logfile ~/fetchmail.log in your
autostart or cron and see if fetchmail gets started and if it gives
any kind of error.

Ward



[gentoo-user] Re: fcron fetchmail procmail and the why not?

2009-09-20 Thread Harry Putnam
Ward Poelmans wpoel...@gmail.com writes:

 On Sun, Sep 20, 2009 at 17:34,  meino.cra...@gmx.de wrote:

 When using the line:

    @ 5 fetchmail -a

 nothing happens: The mail remains on the server and can be downloaded
 with

    fetchmail -a

 from the commandline.

 May be I am a little overhacked today...but what the hack I am doing
 wrong here?

 Are you sure the cron job runs? Check the logs. Or try adding:
 */5 * * * * fetchmail -a
 in your cron file.

Another way to go at it might be to use fetchmails' built in daemon
mode (fetchmail -d INTERVAL).  And forget about cron.





Re: [gentoo-user] Re: fcron fetchmail procmail and the why not?

2009-09-20 Thread meino . cramer
Harry Putnam rea...@newsguy.com [09-09-21 04:25]:
 Ward Poelmans wpoel...@gmail.com writes:
 
  On Sun, Sep 20, 2009 at 17:34,  meino.cra...@gmx.de wrote:
 
  When using the line:
 
     @ 5 fetchmail -a
 
  nothing happens: The mail remains on the server and can be downloaded
  with
 
     fetchmail -a
 
  from the commandline.
 
  May be I am a little overhacked today...but what the hack I am doing
  wrong here?
 
  Are you sure the cron job runs? Check the logs. Or try adding:
  */5 * * * * fetchmail -a
  in your cron file.
 
 Another way to go at it might be to use fetchmails' built in daemon
 mode (fetchmail -d INTERVAL).  And forget about cron.
 
 

fcron does run (see my previous mail).
I will try the daemon mode. What will be the best place to fire up
fetchmail then?
...but I am still curious what prevents the call by fcron, since this
is also recommended by some howtos...



-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.