修复脚本管理数据

This commit is contained in:
whyour committed 2021-11-12 23:18:24 +08:00
1 parent ee0b47d101
commit a2ce3304de
4 files changed
+67 -54

No files matched your search

+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 "{