Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Python bindings
- Date: Thu, 14 Nov 2019 22:12:22 +0000
- From: Zach Miller <zmiller@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Python bindings
Also, I don't know if python will let you just shove an integer in there instead of a nicely-named enumeration, but the actual command number is 469 so you could try that as well. Good luck! : )
Cheers,
-zach
ïOn 11/14/19, 4:05 PM, "HTCondor-users on behalf of Zach Miller" <htcondor-users-bounces@xxxxxxxxxxx on behalf of zmiller@xxxxxxxxxxx> wrote:
Unless I am missing something, I (surprisingly) don't see a "DaemonOn" in the code. There is a "Restart" you could try, but I didn't test it.
htc.DaemonCommands.Restart
Cheers,
-zach
On 11/14/19, 3:29 PM, "HTCondor-users on behalf of Martin Sajdl" <htcondor-users-bounces@xxxxxxxxxxx on behalf of masaj.xxx@xxxxxxxxx> wrote:
Hello All,
is there an equivalent to command "condor_on -daemon startd" in python bindings?
I can use the following for stopping the startd daemon, but cannot find an inverse command...
import htcondor as htc
local_master = htc.Collector().locate(htc.DaemonTypes.Master)
htc.send_command(
local_master,
htc.DaemonCommands.DaemonOffPeaceful,
'startd'
)
Thank you in advance,
Masaj
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/