Scheduled tasks via Rust-based cron or webhook-listen?
I've been trying to get scheduled jobs like tag_stage
and update_follow_refs
working using ghostflow-director
in a docker container. With no direct use of cron
or systemd
in the container, this has been a bit tricky. To simplify running in containerized environments, could ghostflow-director
use a Rust-based implementation for scheduled tasks (crates.io has a few such as job_scheduler, with configuration on a per project basis like the checks
functionality?
Failing that, could the tag_stage
and update_follow_refs
configurations be extended/modified to better support activating these via a job drop to webhook-listen
? This is the route I've explored so far, but so far I've had to add additional json keys in the payload to get it through the listener (inc. verification). This data ends up in the data:
key in the dropped job file, and hence doesn't match the schema expected by ghostflow-director
.