lst_auto_rta.Auto_CheckΒΆ
Functions
Attempts to retrieve the current run number from the lst1_obs_summary database. |
|
|
Get current timestamp (YYYYMMDD) with respect to the night. |
|
Initialize current_run_is and quit variables and get the current timestamp with Start_time = now() Initialize the logging system by setting the log file name and logging level Change the current working directory to /fefs/onsite/pipeline/rta/data Find the current reservations for nodes using the scontrol command and parse the output to find the individual node names Modify a configuration file with sed commands, replacing placeholders with the node names found in step 4 Check if the ib0 network interface is in connected mode for each of the nodes and log the results |
|
Returns the current timestamp in seconds, relative to the Unix epoch. |
|