Added automatical hook scheduling

This commit is contained in:
Magnus Åhall 2025-08-11 20:54:36 +02:00
parent e0628bc480
commit 463d2805b3
6 changed files with 124 additions and 28 deletions

View file

@ -94,7 +94,8 @@ func GetNode(nodeID int) (node Node, err error) { // {{{
h.id,
to_jsonb(s) AS script,
ssh,
env
env,
schedule_on_child_update AS ScheduleOnChildUpdate
FROM hook h
INNER JOIN public.script s ON h.script_id = s.id
WHERE