mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-04 09:10:59 +00:00
本次提交主要包含以下变更: 1. 新增任务管理模块,支持定时任务的创建、更新、删除和状态管理 2. 新增字典管理模块,用于维护系统中常用的固定数据 3. 优化系统配置,移除Celery,改用APScheduler进行任务调度 4. 修复部分前端组件的样式问题,统一输入框宽度 5. 更新文档和相关图片资源,完善系统功能描述 这些变更旨在增强系统的可维护性和功能性,提供更灵活的任务调度机制和更便捷的字典数据管理方式。
54 lines
1.1 KiB
JSON
54 lines
1.1 KiB
JSON
[
|
|
{
|
|
"id": 1,
|
|
"name": "系统默认(无参)",
|
|
"func": "scheduler_test.job",
|
|
"trigger": "cron",
|
|
"args": null,
|
|
"kwargs": null,
|
|
"coalesce": false,
|
|
"max_instances": 1,
|
|
"jobstore": "default",
|
|
"executor": "default",
|
|
"trigger_args": "*/10 * * * *",
|
|
"status": false,
|
|
"message": null,
|
|
"description": null,
|
|
"creator_id": 1
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "系统默认(有参)",
|
|
"func": "scheduler_test.job",
|
|
"trigger": "cron",
|
|
"args": "test",
|
|
"kwargs": null,
|
|
"coalesce": false,
|
|
"max_instances": 1,
|
|
"jobstore": "default",
|
|
"executor": "default",
|
|
"trigger_args": "*/20 * * * *",
|
|
"status": false,
|
|
"message": null,
|
|
"description": null,
|
|
"creator_id": 1
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "系统默认(多参)",
|
|
"func": "scheduler_test.job",
|
|
"trigger": "cron",
|
|
"args": "new",
|
|
"kwargs": "{\"test\": 111}",
|
|
"coalesce": false,
|
|
"max_instances": 1,
|
|
"jobstore": "default",
|
|
"executor": "default",
|
|
"trigger_args": "*/30 * * * *",
|
|
"status": false,
|
|
"message": null,
|
|
"description": null,
|
|
"creator_id": 1
|
|
}
|
|
]
|