[bareos-users] Conditionally execute run script

2017-05-28 Thread 'Tilman Glotzner' via bareos-users
Dear all Some of the computers, I want to backup are not necessarily switch on when I run their backup jobs. So I run a bash script via "Run before" that pings them, and if that fails, wakes them up via etherwake. Depending on whether they were already running when I pinged them, I would like t

Re: [bareos-users] Conditionally execute run script

2017-05-28 Thread Douglas K. Rand
On 5/28/17 5:34 AM, 'Tilman Glotzner' via bareos-users wrote: Some of the computers, I want to backup are not necessarily switch on when I run their backup jobs. So I run a bash script via "Run before" that pings them, and if that fails, wakes them up via etherwake. Depending on whether they were

Re: [bareos-users] Conditionally execute run script

2017-05-28 Thread 'Tilman Glotzner' via bareos-users
Dear Doug that sounds like a good idea. I will it a go -- maybe with a small variantion: The Run Before Script can store the state of the work station in a file and a Run After job reads the file and schedules the job. This should avoid priority issue. Thanks Tilman -- You received this mes