mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
添加默认定时规则配置
This commit is contained in:
1 parent
4d99695e4c
commit
fb0c1c6993
2 files changed
+9
-1
No files matched your search
+6
-1
@@ -65,7 +65,12 @@ import_config() {
|
||||
command_timeout_time=${CommandTimeoutTime:-"1h"}
|
||||
github_proxy_url=${GithubProxyUrl:-""}
|
||||
file_extensions=${RepoFileExtensions:-"js py"}
|
||||
default_cron="$(random_range 0 59) $(random_range 0 23) * * *"
|
||||
|
||||
if [[ -n "${DefaultCronRule}" ]]; then
|
||||
default_cron="${DefaultCronRule}"
|
||||
else
|
||||
default_cron="$(random_range 0 59) $(random_range 0 23) * * *"
|
||||
fi
|
||||
}
|
||||
|
||||
make_dir() {
|
||||
|
||||
Reference in new issue
Block a user