[Dirvish] expire rule doesn't work as desired

Paul Slootman paul at debian.org
Mon Aug 24 12:50:33 UTC 2015


On Sat 22 Aug 2015, Norman wrote:

> Now i changed the rules to
> expire-default: +6 hours
> expire-rule:
> hr { 00,01 }    +7 days
> md { 1 }        +2 months
> wd { mon }      +4 weeks

Note that the *last* rule to match is used. If the 1st of the month
falls on a Monday than the image is kept for 4 weeks, not the 2 months
you might expect... so list the rules with the longest expiry times as
last.


Paul


More information about the Dirvish mailing list