Bacula-users

[Bacula-users] New feature request - comma operators in schedules

2014-04-11 18:48:16
Subject: [Bacula-users] New feature request - comma operators in schedules
From: Heath Petersen <Heath AT HPetersenFamily DOT com>
To: bacula-users AT lists.sourceforge DOT net, bacula-devel AT lists.sourceforge DOT net
Date: Fri, 11 Apr 2014 17:22:56 -0500
Item 1:   Allow combinations of parameters separated by commas
          in job schedules
  Date:   11 April 2014
  Origin: Heath Petersen <Heath AT HPetersenFamily DOT com> 
  Status: 

  What:   The ability to allow combinations of parameters
          separated by commas would clean up some schedule
          definitions. 

  Why:    An example is the easiest way to explain this -

          Schedule {
            Name = "dailyWithFullEveryOtherMonth"

            Run = Level=Full          Jan                      1st Sun      at 23:05
            Run = Level=Differential  Feb                      1st Sun      at 23:05
            Run = Level=Full          Mar                      1st Sun      at 23:05
            Run = Level=Differential  Apr                      1st Sun      at 23:05
            .
            . Shortened for readability.
            .
            Run = Level=Differential  Dec                      1st Sun      at 23:05
            Run = Level=Differential                           2nd-5th Sun  at 23:05
            Run = Incremental                                  Mon-Sat      at 23:05
          }

          Could be simplified to -

          Schedule {
            Name = "dailyWithFullEveryOtherMonth"

            Run = Level=Full          Jan,Mar,May,Jul,Sep,Nov  1st Sun      at 23:05
            Run = Level=Differential  Feb,Apr,Jun,Aug,Oct,Dec  1st Sun      at 23:05
            Run = Level=Differential                           2nd-5th Sun  at 23:05
            Run = Incremental                                  Mon-Sat      at 23:05
          }

  Notes:  Comma operators could be allowed in the specification of the month,
          weekday, and time.  Program logic would have to expand to all combinations.
          Ex: Jan,Feb 1st Sun,Wed would have to expand to Jan 1st Sun, Jan 1st Wed,
          Feb 1st Sun, Feb 1st Wed.


----------

Heath Petersen

Email: Heath AT HPetersenFamily DOT com

Cell: 507-220-2485


American Red Cross

Health Services Leader

Southwest Minnesota Chapter, Worthington


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users