Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
just-man-pages/condor_set_shGeneral1Commajust-man-pages/condor_set_shutdown(1)

Name
       condor_set_shutdown  Set	 a  program to execute upon condor_master shut
       down

Synopsis
       condor_set_shutdown [ -help -version ]

       condor_set_shutdown -exec programname [ -debug ]	 [  -pool  centralman-
       agerhostname[:portnumber]   ]   [   -name   hostname   hostname	 -addr
       _a.b.c.d:port_ _a.b.c.d:port_ -constraint expression -all ]

Description
       condor_set_shutdown sets	a program (typically a script) to execute when
       the  condor_master daemon shuts down. The -exec programname argument is
       required, and specifies the program to run. The string programname must
       match the string	that defines  Name in the configuration	variable  MAS-
       TER_SHUTDOWN_<Name> in the condor_master	daemon's configuration.	If  it
       does  not match,	the condor_master will log an error and	ignore the re-
       quest.

       For security reasons of authentication and authorization, this  command
       requires	ADMINISTRATOR level of access.

Options
       -help

	  Display usage	information

       -version

	  Display version information

       -debug

	  Causes  debugging  information  to be	sent to	 stderr	, based	on the
	  value	of the configuration variable  TOOL_DEBUG

       -pool centralmanagerhostname[:portnumber]

	  Specify a pool by giving the central manager's host name and an  op-
	  tional port number

       -name hostname

	  Send the command to a	machine	identified by hostname

       hostname

	  Send the command to a	machine	identified by hostname

       -addr _a.b.c.d:port_

	  Send the command to a	machine's master located at _a.b.c.d:port_

       _a.b.c.d:port_

	  Send the command to a	machine	located	at _a.b.c.d:port_

       -constraint expression

	  Apply	 this  command only to machines	matching the given ClassAd ex-
	  pression

       -all

	  Send the command to all machines in the pool

Exit Status
       condor_set_shutdown will	exit with a status value of 0 (zero) upon suc-
       cess, and it will exit with the value 1 (one) upon failure.

Examples
       To have all condor_master daemons run the program /bin/reboot upon shut
       down, configure the condor_master to contain a definition similar to:

       MASTER_SHUTDOWN_REBOOT =	/sbin/reboot

       where  REBOOT is	an invented name for this program that the condor_mas-
       ter will	execute. On the	command	line, run

       % condor_set_shutdown -exec reboot -all
       % condor_off -graceful -all

       where the string	 reboot	matches	the invented name.

Author
       Center for High Throughput Computing, University	of Wisconsin-Madison

Copyright
       Copyright  (C) 1990-2015	Center for High	Throughput Computing, Computer
       Sciences	Department, University of Wisconsin-Madison, Madison, WI.  All
       Rights Reserved.	Licensed under the Apache License, Version 2.0.

				     datejust-man-pages/condor_set_shutdown(1)

Name | Synopsis | Description | Options | Exit Status | Examples | Author | Copyright

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=condor_set_shutdown&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help