lst_auto_rta.Auto_RTA.stop_rta

lst_auto_rta.Auto_RTA.stop_rta(slurm_reservations: List[str], slurm_account: str, r0dl1_job_name: str) Thread[source]

Stop the r0dl1 daemons

The r0dl1 jobs are immediately send a SIGINT signal, which should tell them to gracefully shut down. A SIGKILL is also scheduled to run 10 seconds later to ensure the jobs are indeed stopped.

Parameters:
  • slurm_reservations (List[str]) – List of slurm reservation to search for r0dl1 daemons.

  • slurm_account (str) – Slurm account to use when searching for the r0dl1 daemons.

  • r0dl1_job_name (str) – Name of the r0dl1 jobs in the CDB configuration

Returns:

stop_thread – Started thread that will SIGKILL the r0dl1 jobs after 10 secs.

Return type:

Thread