From 0c374182d89c61709a1264c225c6e6d2ab30b635 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 12 Feb 2010 09:44:44 +0100 Subject: [PATCH] Copy AllowDuplicate directives documentation --- docs/manuals/en/main/dirdconf.tex | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/docs/manuals/en/main/dirdconf.tex b/docs/manuals/en/main/dirdconf.tex index 0f270da1..5200e80a 100644 --- a/docs/manuals/en/main/dirdconf.tex +++ b/docs/manuals/en/main/dirdconf.tex @@ -1650,6 +1650,44 @@ RunScript { job. If it is set to zero (the default) the job will be rescheduled an indefinite number of times. +\item [Allow Duplicate Jobs = \lt{}yes\vb{}no\gt{}] +\index[general]{Allow Duplicate Jobs} + +A duplicate job in the sense we use it here means a second or subsequent job +with the same name starts. This happens most frequently when the first job +runs longer than expected because no tapes are available. + + If this directive is enabled duplicate jobs will be run. If + the directive is set to {\bf no} (default) then only one job of a given name + may run at one time, and the action that Bacula takes to ensure only + one job runs is determined by the other directives (see below). + + If {\bf Allow Duplicate Jobs} is set to {\bf no} and two jobs + are present and none of the three directives given below permit + cancelling a job, then the current job (the second one started) + will be cancelled. + +\item [Allow Higher Duplicates = \lt{}yes\vb{}no\gt{}] +\index[general]{Allow Higher Duplicates} + If this directive is set to {\bf yes} (default) the job with a higher + priority (lower priority number) will be permitted to run, and + the current job will be cancelled. If the + priorities of the two jobs are the same, the outcome is determined by + other directives (see below). + +\item [Cancel Queued Duplicates = \lt{}yes\vb{}no\gt{}] +\index[general]{Cancel Queued Duplicates} + If {\bf Allow Duplicate Jobs} is set to {\bf no} and + if this directive is set to {\bf yes} any job that is + already queued to run but not yet running will be canceled. + The default is {\bf no}. + +\item[Cancel Running Duplicates = \lt{}yes\vb{}no\gt{}] +\index[general]{Cancel Running Duplicates} + If {\bf Allow Duplicate Jobs} is set to {\bf no} and + if this directive is set to {\bf yes} any job that is already running + will be canceled. The default is {\bf no}. + \item [Run = \lt{}job-name\gt{}] \index[dir]{Run} \index[dir]{Directive!Run} -- 2.39.5