[Dirvish] dirvish-expire says 'Invalid expiration time'
Daniel Fischer
daniel.fischer at materna.de
Fri Nov 3 05:31:27 PST 2006
Am Freitag, 3. November 2006 12:43 schrieb Paul Slootman:
> On Fri 03 Nov 2006, Daniel Fischer wrote:
> > expire-default:
> > +15 days
>
> expire-default is not a list value, this needs to be on a single line,
> like so:
>
> expire-default: +15 days
I "bugfixed" my master.conf file and manually corrected the expiration-time
field in the summary files.
Everything is working now. Thank you very much!
> > expire-rule:
> > * * * * 1 +3 months
> > * 10-20 * * * +15 days
> >
> >
> > Looks like it only does work on the first day of week since the 28th of
> > October.
> > If it is not the first day of week it prints to the summary:
> > "Expire: ARRAY(0x82e6fbc) == 1970-01-01 01:00:00" ??
>
> Thats because it doesn't have a value for the default, when no
> expire-rule matches; or rather, it has an array value (which it prints :-)
> when it expects a string value.
>
>
> Probably dirvish needs to be modified so that it checks the type of the
> options are what is expected, too often have we seen problems with
> putting things on one line or as in this case _not_ putting things on
> one line...
That would be a nice "feature". ;-)
Thanks and regards,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.dirvish.org/pipermail/dirvish/attachments/20061103/5db4f141/attachment.bin
More information about the Dirvish
mailing list