修复脚本管理数据

This commit is contained in:
whyour
2021-11-12 23:18:24 +08:00
parent ee0b47d101
commit a2ce3304de
4 changed files with 67 additions and 54 deletions
+2 -1
View File
@@ -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 "{