From: Eric Bollengier Date: Wed, 27 Feb 2013 21:16:31 +0000 (+0100) Subject: Add documentation for job edit code %P X-Git-Tag: Release-7.0.0~44 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0fa04405db3c02f1e7e776924409c4bc3b806606;p=bacula%2Fdocs Add documentation for job edit code %P --- 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.