技能 编程开发 调度任务API管理

调度任务API管理

v20260825
webiny-api-scheduler-catalog
本模块提供了一套完整的API和抽象层,用于管理和调度应用程序中的定时任务。它支持设置、执行、取消和查询各种预定的自动化操作,适用于构建复杂的后台工作流和时间触发的业务流程。
获取技能
134 次下载
概览

API — Scheduler

Scheduled action use cases.

How to Use

  1. Find the abstraction you need below
  2. You MUST read the source file to get the exact interface and types!
  3. Import: import { Name } from "<importPath>";
  4. See webiny-use-case-pattern or webiny-event-handler-pattern skills for implementation patterns

Abstractions


Name: CancelScheduledActionUseCase
Import: import { CancelScheduledActionUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/CancelScheduledAction/index.ts
Description: Cancel a scheduled action.


Name: ExecuteScheduledActionUseCase
Import: import { ExecuteScheduledActionUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/ExecuteScheduledAction/index.ts
Description: Execute a scheduled action immediately.


Name: GetScheduledActionUseCase
Import: import { GetScheduledActionUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/GetScheduledAction/index.ts
Description: Retrieve a scheduled action.


Name: IScheduledAction
Kind: type
Import: import type { IScheduledAction } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts


Name: IScheduledActionEntry
Kind: type
Import: import type { IScheduledActionEntry } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts


Name: ListScheduledActionsUseCase
Import: import { ListScheduledActionsUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/ListScheduledActions/index.ts
Description: List scheduled actions.


Name: NamespaceHandler
Import: import { NamespaceHandler } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/NamespaceHandler/index.ts
Description: Handle namespace-specific scheduled action logic.


Name: ScheduleActionError
Kind: type
Import: import type { ScheduleActionError } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/ScheduleAction/index.ts


Name: ScheduleActionUseCase
Import: import { ScheduleActionUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/ScheduleAction/index.ts
Description: Schedule an action for future execution.


Name: SCHEDULED_ACTION_PUBLISH
Import: import { SCHEDULED_ACTION_PUBLISH } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/constants.ts
Description: Constant identifier for the publish scheduled action type.


Name: SCHEDULED_ACTION_UNPUBLISH
Import: import { SCHEDULED_ACTION_UNPUBLISH } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/constants.ts
Description: Constant identifier for the unpublish scheduled action type.


Name: ScheduledActionHandler
Import: import { ScheduledActionHandler } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Description: Handle execution of a scheduled action.


Name: ScheduledActionModel
Import: import { ScheduledActionModel } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Description: ScheduledActionModel - A CMS model used by the scheduler for persistence.


Name: ScheduledActionType
Kind: type
Import: import type { ScheduledActionType } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts


Name: SchedulerService
Import: import { SchedulerService } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Description: Core service for managing scheduled actions.


信息
分类 编程开发
名称 webiny-api-scheduler-catalog
版本 v20260825
大小 3.86KB
更新时间 2026-09-06
语言