[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bacula-devel] [Bacula-users] Improving job schedulingflexibility
On Feb 26, 2008, at 9:41 PM, Carsten Menke wrote:
> Hi,
>
> due to the recent discussion about improving scheduling, I think
> what is
> more important is, that you have the ability to run a job on the
> last Friday of
> the month, for example. To provide a real monthly cycle. Currently
> you could
> specify this only as "4th-5th Fri" (to the best of my knowledge),
> which has
> the big disadvantage that this overlaps with the weekly Backup on a
> month having
> 5 Fridays.
Solution so that the 4th Friday job is not run if there is a 5th Friday:
shell script which runs as RunBeforeJob. Verify that today + 7 days
is still this month.
If it is, error out and the job will not run.
--
Dan Langille -- http://www.langille.org/
dan@xxxxxxxxxxxx
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel
This mailing list archive is a service of Copilot Consulting.