fix(cgi-bin): set shutdown job to run on target node

main
Tsu-ba-me 4 years ago
parent 0020103b77
commit 9a483b5d55
  1. 1
      cgi-bin/set_power

@ -91,6 +91,7 @@ sub set_host_power
{ {
$anvil->Database->insert_or_update_jobs({ $anvil->Database->insert_or_update_jobs({
job_command => $anvil->data->{path}{exe}{'anvil-safe-stop'}." --power-off", job_command => $anvil->data->{path}{exe}{'anvil-safe-stop'}." --power-off",
job_host_uuid => $host_uuid,
job_description => "job_0333", job_description => "job_0333",
job_name => "cgi-bin::set_power::off", job_name => "cgi-bin::set_power::off",
job_progress => 0, job_progress => 0,

Loading…
Cancel
Save