Added "p" option modifier to be used as otrs.Scheduler.pl -a status - p 1 this will response: 0 is scheduler is stopped -1 if scheduler is registered on the DB but is not running <PID> if scheduler is running where <PID> is the process number of the scheduler
Added "p" option modifier to be used as otrs.Scheduler.pl -a status - p 1 this will response:
0 is scheduler is stopped
-1 if scheduler is registered on the DB but is not running
<PID> if scheduler is running where <PID> is the process number of the scheduler

This will simplify the use on the init scripts, since now they don't need to use regular expression to get the PID from the strings.

thorsteneckel/otrs,StCyr/otrs,oiami/otrs,MBRG/otrs,StCyr/otrs,eliasp/otrs,xhoy/otrs,rudy500/otrs,linearregression/otrs,oiami/otrs,vlascoder/otrs,StCyr/otrs,eliasp/otrs,capeit-tto/otrs,PortgasDAce/otrs,moritz/otrs,brandonshults01/otrs,thorsteneckel/otrs,mburggraf/otrs,oiami/otrs,balazj/otrs,eliasp/otrs,vlascoder/otrs,PortgasDAce/otrs,s7design/otrs,MBRG/otrs,nilei/otrs,brandonshults01/otrs,PortgasDAce/otrs,mburggraf/otrs,muehlbauer/otrs,rudy500/otrs,rudy500/otrs,mburggraf/otrs,MBRG/otrs,eliasp/otrs,mbeijen/otrs-1,rudy500/otrs,crythias/otrs,PortgasDAce/otrs,muehlbauer/otrs,mbeijen/otrs-1,mburggraf/otrs,vlascoder/otrs,balazj/otrs,noritnk/otrs,linearregression/otrs,nilei/otrs,noritnk/otrs,linearregression/otrs,moritz/otrs,nilei/otrs,balazj/otrs,capeit-tto/otrs,balazj/otrs,balazj/otrs,xhoy/otrs,moritz/otrs,xhoy/otrs,StCyr/otrs,muehlbauer/otrs,crythias/otrs,crythias/otrs,xhoy/otrs,thorsteneckel/otrs,brandonshults01/otrs,s7design/otrs,crythias/otrs,muehlbauer/otrs,StCyr/otrs,oiami/otrs,xhoy/otrs,crythias/otrs,eliasp/otrs,s7design/otrs,MBRG/otrs,nilei/otrs,capeit-tto/otrs,MBRG/otrs,rudy500/otrs,s7design/otrs,PortgasDAce/otrs,linearregression/otrs,thorsteneckel/otrs,brandonshults01/otrs,brandonshults01/otrs,moritz/otrs,moritz/otrs,oiami/otrs,linearregression/otrs,noritnk/otrs,thorsteneckel/otrs,mburggraf/otrs,s7design/otrs,nilei/otrs,mbeijen/otrs-1,muehlbauer/otrs