mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
more specific
This commit is contained in:
parent
45fba8428f
commit
c0e4880467
@ -1228,7 +1228,7 @@ function task_automate {
|
|||||||
echo_stat
|
echo_stat
|
||||||
|
|
||||||
crontab -l > cronjob-old.tmp
|
crontab -l > cronjob-old.tmp
|
||||||
sed '/pull/d' cronjob-old.tmp > cronjob-new.tmp
|
sed '/.sh pull/d' cronjob-old.tmp > cronjob-new.tmp
|
||||||
crontab cronjob-new.tmp 2>/dev/null
|
crontab cronjob-new.tmp 2>/dev/null
|
||||||
error_validate
|
error_validate
|
||||||
rm cronjob-old.tmp
|
rm cronjob-old.tmp
|
||||||
|
Loading…
Reference in New Issue
Block a user