Function remove_jobs_by_agent
pub fn remove_jobs_by_agent(
config: &Config,
agent_alias: &str,
) -> Result<usize, Error>Expand description
Delete every cron job owned by agent_alias, returning the row count
(cron_runs cascade via their job_id FK). A job whose owning agent is gone
can never run, so the agent-deletion cascade removes it