Re:Show HN: Rocketry – Statement-based scheduling framework ...
by svennek on Thursday September 22, 2022 @01:23PM
(#32941944)
In systemd you can have multiple ExecStarts, which will be run in order (if I remember correctly), and ExecStopPost is brilliant for notifying problems..
Re:Show HN: Rocketry – Statement-based scheduling framework ...
by bhargav on Thursday September 22, 2022 @08:04AM
(#32937689)
The main benefit of cron is your code stops once it’s done, process is cleaned up. There isn’t a provided way to do dependencies but that can be done using some shared locks and scheduling. Won’t be completely accurate which why solutions like Airflow are used.
Edit: forgot the most obvious way to do dependencies… just execute A & B together as one cron job; still need something like airflow if it gets into a DAG territory
“When job a and job b are done, run job c” kind of things.