Hey List, Arno.

The idea is just to save some typing.

Job {
  Name     = Foo
  Fileset  = aFileset
  Schedule = WeekdayCycle,WeekendCycle
  [...]
}

Job {
  Name     = aJob-Weekday
  Fileset  = weekdayFileset
  Schedule = WeekdayCycle
  [...]
}

Job {
  Name     = aJob-Weekend
  Fileset  = weekendFileset
  Schedule = WeekendCycle
}

Currently you need to split up the first job into two seperate jobs, cause you 
can't specify (I found out by trial and error ;) two (or more) schedules for a 
single job.

*snip*

via Python/Script:
Quiet an idea, though not my favourite solution, cause I would just need 
a single exclude for the weekend.

Thanks,
 Michael




On Thu, 2 Mar 2006 - 11:05am, Arno Lehmann wrote:

> Hello,
>
> On 3/2/2006 10:11 AM, Michael 'buk' Scherer wrote:
>> Hi.
>> 
>> I just wondered if its possible to define more than two Schedules for one
>> job.
>> It actually is by using 'Schedule = sched_one,sched_two' in the
>> Job-Definition but only 'sched_one' is used.
>
> I never tried it, but I don't think so.
>
>> 1.38.3 running here.
>> 
>> Any chance with this somehow? Would avoid specifying jobs two or three times
>> here. And no, I can't use the Schedule stuff, cause for some jobs, I need
>> different Filesets during the weekend, so my plan was to specify two
>> schedules, one for weekdays, one for weekends and assign them to the jobs.
>> One job uses both schedules, some others just one.
>
> I don't completely understand this problem.
>
> A job always has one fileset, so you would have different jobs anyway, right?
>
> Apart from that, you could use a dynamic fileset, generated by some script,
> which would just output one or the other fileset, depending on the weekday.
>
> By the way: Through communication with another Bacula user, I learned about 
> the
> existence of the python module period.py which allows a very convenient
> checking if a given date is inside a defined period of time. Something like 
> 'if
> in_period('Weekend'):' is easy to handle...
>
>> So far.
>
> So long.
>
> ;-)
>
> Arno
>
>
>> Thanks,
>>  Michael
>> 
>> 
>> 
>
>


-- 
  I love deadlines, especially the sound they make as they go whooshing by.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to