File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
CN/modules/ROOT/pages/v1.17
EN/modules/ROOT/pages/v1.17 Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -90,14 +90,18 @@ pg_cron还允许使用 '$'表示月份的最后一天。
9090```
9191# 查看所有任务
9292SELECT * FROM cron.job;
93+ ```
9394
9495image::p31.png[]
9596
97+ ```
9698# 查看任务执行历史
9799SELECT * FROM cron.job_run_details ORDER BY start_time DESC LIMIT 10;
100+ ```
98101
99102image::p32.png[]
100103
104+ ```
101105# 删除任务
102106SELECT cron.unschedule('nightly-data-cleanup');
103107
Original file line number Diff line number Diff line change @@ -89,14 +89,18 @@ pg_cron also allows using '$' to represent the last day of the month.
8989```
9090# View all tasks
9191SELECT * FROM cron.job;
92+ ```
9293
9394image::p31.png[]
9495
96+ ```
9597# View task execution history
9698SELECT * FROM cron.job_run_details ORDER BY start_time DESC LIMIT 10;
99+ ```
97100
98101image::p32.png[]
99102
103+ ```
100104# Delete task
101105SELECT cron.unschedule('nightly-data-cleanup');
102106
You can’t perform that action at this time.
0 commit comments