feat(cron): allow users to associate cron jobs with specific agents (#835)

This commit is contained in:
Tao Yiping
2026-04-12 11:51:29 +08:00
committed by GitHub
Unverified
parent 49518300dc
commit 87ab12849c
9 changed files with 429 additions and 10 deletions

View File

@@ -58,6 +58,7 @@ export interface CronJob {
updatedAt: string;
lastRun?: CronJobLastRun;
nextRun?: string;
agentId: string;
}
/**
@@ -69,6 +70,7 @@ export interface CronJobCreateInput {
schedule: string;
delivery?: CronJobDelivery;
enabled?: boolean;
agentId?: string;
}
/**
@@ -80,6 +82,7 @@ export interface CronJobUpdateInput {
schedule?: string;
delivery?: CronJobDelivery;
enabled?: boolean;
agentId?: string;
}
/**