perf: Include cron script for syncing artifacts in configurations

This commit is contained in:
Peng-YM
2022-07-12 18:15:05 +08:00
parent f7d4b66db6
commit f7333c0617
3 changed files with 27 additions and 13 deletions

View File

@@ -5,3 +5,5 @@ hostname=%APPEND% sub.store
[Script]
Sub-Store = type=http-request,pattern=^https?:\/\/sub\.store,script-path=https://raw.githubusercontent.com/Peng-YM/Sub-Store/master/backend/sub-store.min.js,requires-body=true,timeout=120,max-size=131072
Sub-Store Sync = type=cron,cronexp=0 0 * * *,wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/backend/dist/cron-sync-artifacts.min.js