mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-10-06 13:25:55 +08:00
Update autoRepackRockyLinuxCloudImages.sh
This commit is contained in:
parent
a335213054
commit
8b9d2fb8ba
1 changed files with 1 additions and 1 deletions
|
@ -41,6 +41,6 @@ done
|
|||
|
||||
# write crontab task
|
||||
if [[ ! `grep -i "autorepackrockylinuxcloudimages" /etc/crontab` ]]; then
|
||||
sed -i '$i 0 5 1-7 * 7 root bash /root/autoRepackRockyLinuxCloudImages.sh' /etc/crontab
|
||||
sed -i '$i 0 5 1-7 2,4,6,8,10,12 7 root bash /root/autoRepackRockyLinuxCloudImages.sh' /etc/crontab
|
||||
/etc/init.d/cron restart
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue