mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
sed
This commit is contained in:
parent
d7c6b62271
commit
3179d31512
@ -1227,7 +1227,7 @@ function task_automate {
|
||||
echo_stat
|
||||
|
||||
crontab -l >$CRON_TEMP
|
||||
awk '$0!~/pull/ { print $0 }' $CRON_TEMP >$CRON_NEW
|
||||
sed '/pull/d' $CRON_TEMP >$CRON_NEW
|
||||
crontab $CRON_NEW 2>/dev/null
|
||||
error_validate
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user