Skip to content

Commit

Permalink
feat: 更新 customize.sh,添加文件权限设置并修正定时任务配置
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurora-Nasa-1 committed Feb 3, 2025
1 parent b6965ff commit a150870
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,10 @@ ClearEnv() {
echo "rm -f /data/local/tmp/remove.sh" >>"$FILE1"
echo "rm -f /data/local/tmp/remove" >>"$FILE1"
echo "* * * * * /data/local/tmp/remove.sh" >"$FILE2"
crond -c $FILE2

chmod +x "$FILE1"
chmod +x "$FILE2"
crontab $FILE2
crond
}
##########################################################
if [ -n "$MODID" ]; then
Expand Down

0 comments on commit a150870

Please sign in to comment.