From 0fa04405db3c02f1e7e776924409c4bc3b806606 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 27 Feb 2013 22:16:31 +0100 Subject: [PATCH] Add documentation for job edit code %P --- docs/manuals/en/main/dirdconf.tex | 1 + docs/manuals/en/main/newfeatures.tex | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/docs/manuals/en/main/dirdconf.tex b/docs/manuals/en/main/dirdconf.tex index cedd4383..8909118f 100644 --- a/docs/manuals/en/main/dirdconf.tex +++ b/docs/manuals/en/main/dirdconf.tex @@ -1156,6 +1156,7 @@ Console & & & Console command\\ %l = Job Level %n = Job name %p = Pool name (Only on director side) + %P = Current PID %s = Since time %t = Job type (Backup, ...) %v = Volume name (Only on director side) diff --git a/docs/manuals/en/main/newfeatures.tex b/docs/manuals/en/main/newfeatures.tex index 88f4f8cc..ece0e627 100644 --- a/docs/manuals/en/main/newfeatures.tex +++ b/docs/manuals/en/main/newfeatures.tex @@ -2,6 +2,15 @@ This chapter presents the new features that have been added to the next Community version of Bacula that is not yet released. +\section{New Features in 5.2.14} +\subsection{Additions to RunScript variables} +You can have access to the current PID using \%P in your runscript +command. + +\begin{verbatim} +RunAfterJob = "/bin/echo Pid=%P" +\end{verbatim} + \section{New Features in 5.2.2} This chapter presents the new features that have been added to the current Community version of Bacula that is now released. -- 2.39.5