Gentoo Archives: gentoo-user

From: galiza.ceive@gmail.com (=?utf-8?B?Sm9ow6FtLUx1w61zIE1pZ3XDqW5z?= Vila)
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: fcron & fetchmail & procmail and the "why not?"
Date: Mon, 21 Sep 2009 06:40:01
Message-Id: 87skegssw0.fsf@galiza_ceive.gnu-linux.org
In Reply to: Re: [gentoo-user] Re: fcron & fetchmail & procmail and the "why not?" by meino.cramer@gmx.de
1 meino.cramer@×××.de writes:
2
3 > Harry Putnam <reader@×××××××.com> [09-09-21 04:25]:
4 >> Ward Poelmans <wpoely86@×××××.com> writes:
5 >>
6 >> > On Sun, Sep 20, 2009 at 17:34, <meino.cramer@×××.de> wrote:
7 >> >>
8 >> >> When using the line:
9 >> >>
10 >> >>    @ 5 fetchmail -a
11 >> >>
12 >> >> nothing happens: The mail remains on the server and can be downloaded
13 >> >> with
14 >> >>
15 >> >>    fetchmail -a
16 >> >>
17 >> >> from the commandline.
18 >> >>
19 >> >> May be I am a little overhacked today...but what the hack I am doing
20 >> >> wrong here?
21 >> >
22 >> > Are you sure the cron job runs? Check the logs. Or try adding:
23 >> > */5 * * * * fetchmail -a
24 >> > in your cron file.
25 >>
26 >> Another way to go at it might be to use fetchmails' built in daemon
27 >> mode (fetchmail -d INTERVAL). And forget about cron.
28 >>
29 >>
30 >
31 > fcron does run (see my previous mail).
32 > I will try the daemon mode. What will be the best place to fire up
33 > fetchmail then?
34 > ...but I am still curious what prevents the call by fcron, since this
35 > is also recommended by some howtos...
36
37 Have you tried to write a shell script calling fetchmail and call that from fcron?
38
39 @ 5 /wherever/your/script/is.sh
40 --
41 I loathe people who keep dogs. They are cowards who haven't got the guts
42 to bite people themselves.
43 -- August Strindberg
44 - This message may be digitally signed: GPG KeyID:0x9D2FD6C8 || FNMT SSL cert

Replies