Bacula-users

Re: [Bacula-users] Schedule : First day of month

2012-04-06 05:02:12
Subject: Re: [Bacula-users] Schedule : First day of month
From: Joe Nyland <joe AT joenyland.co DOT uk>
To: Bacula Users <Bacula-users AT lists.sourceforge DOT net>
Date: Fri, 6 Apr 2012 09:58:57 +0100
On 6 Apr 2012, at 06:43, Nicolas wrote:

> Hi all,
> 
> 
> I'm searching how make a schedule for "the first day of january", the first 
> day of feb-jun", "the first day of jul", the first day of aug-dec".
> 
>  
> The syntaxe I used doesn't work :
> 
> "jan 1st at 00:00am"
> 
>  
> Do you know what's the good one ?
> 
>  
>  
> Thanks
> 
> -- 
> Nicolas
> http://www.shivaserv.fr

Taken from the manual [1] would it not be this kind of syntax?: 

<date-time-spec>  = <month-spec> <day-spec> <time-spec>

Where:

<month-spec> = <month-keyword> OR <month-range>
<day-spec> = <day>  = 1 | 2 | ... 31
<time-spec>       = <at-keyword> <time> | <hourly-keyword>
<time>            = <hour>:<minute> | <12hour>:<minute>am | <12hour>:<minute>pm

I think the key is defining the 'date' as 'the day of the month' - i.e. '1' not 
'1st'. I haven't tested this, but it's my interpretation of the manual.

HTH

Joe


[1] 
http://www.bacula.org/en/dev-manual/main/main/Configuring_Director.html#SECTION002350000000000000000


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>