pub async fn start_job_ledger_and_cron(state: &AppState)
Opens the job run ledger, closes the runs a restart interrupted, then starts the cron scheduler.