attpcdaq.daq.tasks.check_data_router_status_task¶
-
attpcdaq.daq.tasks.
check_data_router_status_task
= <@task: attpcdaq.daq.tasks.check_data_router_status_task of attpcdaq:0x7f59340ea748>[source]¶ Checks whether the data router is online and if the staging directory is clean.
This is done by checking if the process is running via SSH. Specifically, the method
check_data_router_status()
of theWorkerInterface
object is used. Then, the staging directory is checked for GRAW files usingworking_dir_is_clean()
from the same class.Parameters: datarouter_pk (int) – The primary key of the data router in the database.