Week-end overrides/multiple cron entries

Malte Weber mw at netconsequence.de
Mon Feb 1 03:11:49 EST 2010



Thanks a lot, that solution was easy.. Sometimes, one even misses simple things..

regards,

Malte
> 
> 
> you have too many *s, so your day-of-week is ignored.
> 
> 	min hour day month day-of-week
> 
> you want:
> 	cron "2 16 * * 1-4"
> 	cron "2 12 * * 5"
> 
> or, if you are using the latest development code, you can say:
> 
> 	Service Prog {
> 	    # ...
> 
> 	    Schedule testing {
> 	        *		=> no
>   		mon 0700 - 1600	=> yes
>   		tue 0700 - 1600	=> yes
> 		wed 0700 - 1600	=> yes
>   		thu 0700 - 1600	=> yes
> 		fri 0700 - 1200 => yes
> 	    }
> 



---
Dipl.-Wirt.-Ing. Malte Weber VDI
-Geschäftsführer-

NetConsequence GmbH
Ingenieurbüro für Systemtechnik

Hausertorstraße 49
D-35578 Wetzlar

Tel. +49-6441-669141-0
Fax +49-6441-669141-1
E-Mail: info at netconsequence.de

AG Wetzlar HRB 5420
Geschäftsführer: Dipl.-Ing. (FH) Peter Turczak, Dipl.-Wirt.-Ing. Malte Weber






More information about the Arguslist mailing list