update 2024-05-31 02:01:25

This commit is contained in:
actions-user 2024-05-31 02:01:25 +08:00
parent 3026a8ff17
commit 6051fde934

View File

@ -76,7 +76,6 @@ start_service() {
local update_time
config_get update_time "config" "update_time" "3"
sed -i "/$NAME/d" /etc/crontabs/root
echo -e "30 2 * * * /etc/init.d/unblockneteasemusic" >> "/etc/crontabs/root"
! is_enabled "config" "auto_update" || echo -e "0 ${update_time} * * * $UNM_DIR/update.sh update_core" >> "/etc/crontabs/root"
/etc/init.d/cron restart