sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #18666
Re: Fetchmail
On Tue, 15 Feb 2000, Simon Kool wrote:
> Jeg gør sådan (i crontab):
>
> 0 0 * * 1-7 fetchmail -q|fetchmail -d 7200 -f /etc/fetchmailrc
> 0 8 * * 1-5 fetchmail -q|fetchmail -d 900 -f /etc/fetchmailrc
> 0 18 * * 1-5 fetchmail -q|fetchmail -d 1800 -f /etc/fetchmailrc
>
> Meningen er at der skal hentes hvert kvarter fra 8-18, hver time fra 18 til
> 24 og hver anden time om natten og i weekenden. Opnår jeg det med
> ovenstående? Jeg har selvfølgelig ikke nogen 'set deamon' i fetchmailrc.
Uden at være ekspert, ville jeg tro at
0 0,2,4,6 * * 1-5 fetchmail -q|fetchmail -d 900 -f /etc/fetchmailrc
0,15,30,45 8-17 * * 1-5 fetchmail -q|fetchmail -d 900 -f /etc/fetchmailrc
0 18-24 * * 1-5 fetchmail -q|fetchmail -d 1800 -f /etc/fetchmailrc
gør det du ønsker. (Ser det ikke meget rimeligt ud?)
Mads
--
Mads Bondo Dydensborg. madsdyd@xxxxxxxxxxxx
Before we'd usually say, there is a deep rumbling sound of penguins. Now
it's time to begin with: The earth is quaking, hell yeah the penguins are
here!!
References