diff --git a/src/tools/cron.rs b/src/tools/cron.rs index f8d83de..ac5f5d7 100644 --- a/src/tools/cron.rs +++ b/src/tools/cron.rs @@ -157,7 +157,7 @@ impl Tool for CronAddTool { let next_run_at = next_run_for_schedule(&schedule, now) .ok_or_else(|| anyhow::anyhow!("could not compute next run time from schedule"))?; - let id = Uuid::new_v4().to_string(); + let id = Uuid::new_v4().to_string()[..8].to_string(); let job = ScheduledJob { id: id.clone(), name: name.clone(),