fix(cron): remove cron task channel config (#222)

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
This commit is contained in:
Haze
2026-02-28 15:14:02 +08:00
committed by GitHub
Unverified
parent e303841373
commit 4d948347ea
3 changed files with 27 additions and 109 deletions

View File

@@ -41,7 +41,7 @@ export interface CronJob {
name: string;
message: string;
schedule: string | CronSchedule;
target: CronJobTarget;
target?: CronJobTarget;
enabled: boolean;
createdAt: string;
updatedAt: string;
@@ -50,13 +50,14 @@ export interface CronJob {
}
/**
* Input for creating a cron job
* Input for creating a cron job from the UI.
* No target/delivery — UI-created tasks push results to the ClawX chat page.
* Tasks created via external channels are handled directly by the Gateway.
*/
export interface CronJobCreateInput {
name: string;
message: string;
schedule: string;
target: CronJobTarget;
enabled?: boolean;
}
@@ -67,7 +68,6 @@ export interface CronJobUpdateInput {
name?: string;
message?: string;
schedule?: string;
target?: CronJobTarget;
enabled?: boolean;
}