Item 1: Allow combinations of parameters separated by commas
in job schedules
Date: 11 April 2014
Origin: Heath Petersen <[email protected]>
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: [email protected]
Cell: 507-220-2485
[image: American Red Cross]
Health Services Leader
Southwest Minnesota Chapter, Worthington<http://www.redcross.org/mn/worthington>
<<inline: image001.jpg>>
------------------------------------------------------------------------------ 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-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
