On 08/21/10 11:44, Dan Langille wrote: > On 8/20/2010 2:50 AM, Alex2398 wrote: >> Is there a way to check connection before launching the job? I guess >> recycling and purging volume should be done AFTER the job is complete, not >> before. > > Yes. Include a Run Before script in your job. In that script, verify > the connection. Then terminate with the right error code to allow / > deny the reset of the job.
You can use the checkhost script, located in the Examples directory, for this. It was written to do exactly this: check before starting a job that the client is online, and that the client's FD is running and listening on port 9103. -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, Free Stater It's not the years, it's the mileage. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users