Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: fcron & fetchmail & procmail and the "why not?"
Date: Mon, 21 Sep 2009 15:43:18
Message-Id: 20090921154314.GB5876@solfire
In Reply to: Re: [gentoo-user] Re: fcron & fetchmail & procmail and the "why not?" by galiza.ceive@gmail.com (=?utf-8?B?Sm9ow6FtLUx1w61zIE1pZ3XDqW5z?= Vila)
1 Johám-Luís Miguéns Vila <galiza.ceive@×××××.com> [09-09-21 17:13]:
2 > meino.cramer@×××.de writes:
3 >
4 > > Harry Putnam <reader@×××××××.com> [09-09-21 04:25]:
5 > >> Ward Poelmans <wpoely86@×××××.com> writes:
6 > >>
7 > >> > On Sun, Sep 20, 2009 at 17:34, <meino.cramer@×××.de> wrote:
8 > >> >>
9 > >> >> When using the line:
10 > >> >>
11 > >> >>    @ 5 fetchmail -a
12 > >> >>
13 > >> >> nothing happens: The mail remains on the server and can be downloaded
14 > >> >> with
15 > >> >>
16 > >> >>    fetchmail -a
17 > >> >>
18 > >> >> from the commandline.
19 > >> >>
20 > >> >> May be I am a little overhacked today...but what the hack I am doing
21 > >> >> wrong here?
22 > >> >
23 > >> > Are you sure the cron job runs? Check the logs. Or try adding:
24 > >> > */5 * * * * fetchmail -a
25 > >> > in your cron file.
26 > >>
27 > >> Another way to go at it might be to use fetchmails' built in daemon
28 > >> mode (fetchmail -d INTERVAL). And forget about cron.
29 > >>
30 > >>
31 > >
32 > > fcron does run (see my previous mail).
33 > > I will try the daemon mode. What will be the best place to fire up
34 > > fetchmail then?
35 > > ...but I am still curious what prevents the call by fcron, since this
36 > > is also recommended by some howtos...
37 >
38 > Have you tried to write a shell script calling fetchmail and call that from fcron?
39 >
40 > @ 5 /wherever/your/script/is.sh
41 > --
42 > I loathe people who keep dogs. They are cowards who haven't got the guts
43 > to bite people themselves.
44 > -- August Strindberg
45 > - This message may be digitally signed: GPG KeyID:0x9D2FD6C8 || FNMT SSL cert
46
47 No I havent, since I see no difference to calling a "real" executable
48 -- but I will give it try.
49 By the way: Calling fetchmal -d from ~/.openbox/autostart.sh also does
50 not work, but other programs started from there do have no problems.
51
52
53
54
55 --
56 Please don't send me any Word- or Powerpoint-Attachments
57 unless it's absolutely neccessary. - Send simply Text.
58 See http://www.gnu.org/philosophy/no-word-attachments.html
59 In a world without fences and walls nobody needs gates and windows.

Replies

Subject Author
Re: [gentoo-user] Re: fcron & fetchmail & procmail and the "why not?" Ward Poelmans <wpoely86@×××××.com>