Create tasks to cleanup JobRunr jobs. They should be admin-only.
Schedule missing jobs
Iterates though all flows and schedules tasks for the ones absent in JobRunr.
Rename existing jobs (scheduled)
Iterates though the stored flows and renames outdated ones.
Requires finding out how to keep the existing schedule (with the delay), to spread out job executions instead of running them all at the same time.
Delete outdated jobs (scheduled)
Unnecessary right now as you can't delete jobs (lol).
Alternatively, make this non-scheduled and delete when the flow wasn't found in the database.
The end goal is to create an environment where jobs are not a source of worry, they can be deleted, renamed, stale, outdated, etc and fixed by just running a few tasks
Create tasks to cleanup JobRunr jobs. They should be admin-only.
Schedule missing jobs
Iterates though all flows and schedules tasks for the ones absent in JobRunr.
Rename existing jobs (scheduled)
Iterates though the stored flows and renames outdated ones. Requires finding out how to keep the existing schedule (with the delay), to spread out job executions instead of running them all at the same time.
Delete outdated jobs (scheduled)
Unnecessary right now as you can't delete jobs (lol). Alternatively, make this non-scheduled and delete when the flow wasn't found in the database.
The end goal is to create an environment where jobs are not a source of worry, they can be deleted, renamed, stale, outdated, etc and fixed by just running a few tasks