mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
修复定时匹配
This commit is contained in:
1 parent
a2ce3304de
commit
6f96c84a16
1 file changed
+1
-1
+1
-1
@@ -105,7 +105,7 @@ add_cron() {
|
|||||||
cd $dir_scripts
|
cd $dir_scripts
|
||||||
for file in $(cat $list_add); do
|
for file in $(cat $list_add); do
|
||||||
local file_name=${file/${path}\//}
|
local file_name=${file/${path}\//}
|
||||||
file_name=${file/${path}\_/}
|
file_name=${file_name/${path}\_/}
|
||||||
if [[ -f $file ]]; then
|
if [[ -f $file ]]; then
|
||||||
cron_line=$(
|
cron_line=$(
|
||||||
perl -ne "{
|
perl -ne "{
|
||||||
|
|||||||
Reference in new issue
Block a user