sync: auto-sync from HOWARD-HOME at 2026-06-25 21:21:56
Author: Howard Enos Machine: HOWARD-HOME Timestamp: 2026-06-25 21:21:56
This commit is contained in:
5
.watch_targets.py
Normal file
5
.watch_targets.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import json,sys
|
||||
d=json.load(sys.stdin)
|
||||
t={'DESKTOP-F94M8UT','NurseAssist','DESKTOP-KQSL232','DESKTOP-MD6UQI3','DESKTOP-TRCIEJA','SALES4-PC','Laptop4'}
|
||||
on=[a['hostname'] for a in d if a.get('hostname') in t and a.get('status')=='online']
|
||||
print(','.join(sorted(on)))
|
||||
Reference in New Issue
Block a user