mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
"
This commit is contained in:
parent
93bbd16751
commit
d46b2f5a9a
@ -3,7 +3,7 @@ SCRIPT_START=$SECONDS
|
|||||||
|
|
||||||
# GRAVITY SYNC BY VMSTAN #####################
|
# GRAVITY SYNC BY VMSTAN #####################
|
||||||
PROGRAM='Gravity Sync'
|
PROGRAM='Gravity Sync'
|
||||||
VERSION='2.0.0'
|
VERSION='2.0.1'
|
||||||
|
|
||||||
# Execute from the home folder of the user who owns it (ex: 'cd ~/gravity-sync')
|
# Execute from the home folder of the user who owns it (ex: 'cd ~/gravity-sync')
|
||||||
# For documentation or downloading updates visit https://github.com/vmstan/gravity-sync
|
# For documentation or downloading updates visit https://github.com/vmstan/gravity-sync
|
||||||
@ -1469,7 +1469,7 @@ function clear_cron {
|
|||||||
echo_stat
|
echo_stat
|
||||||
|
|
||||||
crontab -l > cronjob-old.tmp
|
crontab -l > cronjob-old.tmp
|
||||||
sed '/${GS_FILENAME}/d' cronjob-old.tmp > cronjob-new.tmp
|
sed "/${GS_FILENAME}/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