mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
修复脚本管理数据
This commit is contained in:
1 parent
ee0b47d101
commit
a2ce3304de
4 files changed
+67
-54
No files matched your search
+2
-1
@@ -104,7 +104,8 @@ add_cron() {
|
||||
local detail=""
|
||||
cd $dir_scripts
|
||||
for file in $(cat $list_add); do
|
||||
local file_name=${file/${path}\_/}
|
||||
local file_name=${file/${path}\//}
|
||||
file_name=${file/${path}\_/}
|
||||
if [[ -f $file ]]; then
|
||||
cron_line=$(
|
||||
perl -ne "{
|
||||
|
||||
Reference in new issue
Block a user