← Back to team overview

sslug-teknik team mailing list archive

Re: Fetchmail

 

On 15 Feb 2000, Jakob Goldbach wrote:

> "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

Der er en duplet her. Nemmest er at lade den forrige gå til 17.

> 
> > og hver anden time om natten 
> 
> 0 0-7/2 * * 1-5 /usr/bin/fetchmail -f /etc/fetchmailrc

smart med /2.

Mads

-- 
Mads Bondo Dydensborg.                               madsdyd@xxxxxxxxxxxx
Oh well, all operating systems crash constantly right? This is normal, right? 
It has to be, Microsoft couldn't be so popular if their OS was so bad, could 
they?	   
  Yes they could, and they are. And if you fail to realize it, it's your own 
damn fault.
                               - Ron Coscorrosa, in response to MS France FUD



Follow ups

References