feat: add scheduled cache refresh task configuration
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
NODE_ENV = 'remote'
|
||||
VITE_APP_TITLE = '远程环境'
|
||||
VITE_BASE_URL = ''
|
||||
VITE_BASE_URL = 'https://skymail.ink/api'
|
||||
VITE_PWA_NAME = 'Cloud Mail'
|
||||
|
||||
@@ -32,7 +32,7 @@ not_found_handling = "single-page-application"
|
||||
run_worker_first = true
|
||||
|
||||
[triggers]
|
||||
crons = ["0 16 * * *"] #定时任务每天晚上12点执行
|
||||
crons = ["*/30 * * * *", "0 16 * * *"] #每30分钟刷新分析缓存,每天晚上12点执行每日任务
|
||||
|
||||
|
||||
[vars]
|
||||
|
||||
@@ -30,7 +30,7 @@ not_found_handling = "single-page-application"
|
||||
run_worker_first = true
|
||||
|
||||
[triggers]
|
||||
crons = ["0 16 * * *"] #定时任务每天晚上12点执行
|
||||
crons = ["*/30 * * * *", "0 16 * * *"] #每30分钟刷新分析缓存,每天晚上12点执行每日任务
|
||||
|
||||
|
||||
[vars]
|
||||
|
||||
@@ -29,7 +29,7 @@ not_found_handling = "single-page-application"
|
||||
run_worker_first = true
|
||||
|
||||
[triggers]
|
||||
crons = ["0 16 * * *"] #定时任务每天晚上12点执行
|
||||
crons = ["*/30 * * * *", "0 16 * * *"] #每30分钟刷新分析缓存,每天晚上12点执行每日任务
|
||||
|
||||
|
||||
[vars]
|
||||
|
||||
Reference in New Issue
Block a user