sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #18668
Re: Fetchmail
"Simon Kool" <simon@xxxxxxxxxxxx> writes:
> 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 [snip]
Så vil jeg gøre sådan her :
> at der skal hentes hvert kvarter fra 8-18,
0,15,30,45 8-18 * * 1-5 /usr/bin/fetchmail -f /etc/fetchmailrc
>hver time fra 18 til 24
0 18-23 * * 1-5 /usr/bin/fetchmail -f /etc/fetchmailrc
> og hver anden time om natten
0 0-7/2 * * 1-5 /usr/bin/fetchmail -f /etc/fetchmailrc
> og i weekenden.
0 */2 * * 6-7 /usr/bin/fetchmail -f /etc/fetchmailrc
>Jeg har selvfølgelig ikke nogen 'set deamon' i fetchmailrc.
>
Det har jeg heller ikke :-)
- og jeg starter ikke fetchmail op i daemon mode.
--
Jakob Goldbach -- goldbach@xxxxxxxxx .~.
/V\
Linux on one floppy // \\
see www.toms.net/rb /( )\
^`~'^
Follow ups
References