[Dirvish] Trouble with expiring

Paul Slootman paul at debian.org
Wed Mar 15 04:59:08 EST 2006


On Mon 13 Mar 2006, Shawn Perry wrote:

> This is what I have
> 
> expire-default:  +2 weeks
> expire-rule:
> #MIN	HR		DOM		MON		DOW		EXPIRE
> *		*		*		*		1		+6 weeks
> *		*		1		*		*		+1 year
> *		*		1		1		*		never
> 
> This is what I want:
> Keep daily for 2 weeks

That should work

> Keep Sundays for 2 months

You'll need to change the "+6 weeks" to "+2 months" for that, won't
you...

> Keep first of the month for 2 years

Change the "+1 year" to "+2 years" ?

> Keep Jan 1 forever

Should work.


It's pretty simple, and you were halfway there, I don't really see what
the problem was?


Paul Slootman


More information about the Dirvish mailing list