mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
修复定时匹配
This commit is contained in:
parent
f14a3fe0f1
commit
2546cebdea
|
@ -105,7 +105,7 @@ add_cron() {
|
|||
cd $dir_scripts
|
||||
for file in $(cat $list_add); do
|
||||
local file_name=${file/${path}\//}
|
||||
file_name=${file/${path}\_/}
|
||||
file_name=${file_name/${path}\_/}
|
||||
if [[ -f $file ]]; then
|
||||
cron_line=$(
|
||||
perl -ne "{
|
||||
|
|
Loading…
Reference in New Issue
Block a user