Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
7d076cfc
Commit
7d076cfc
authored
Jan 05, 2016
by
Neil
Browse files
fix uninstall crontab
parent
d8069cd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
7d076cfc
...
@@ -568,7 +568,7 @@ uninstall() {
...
@@ -568,7 +568,7 @@ uninstall() {
_initpath
_initpath
_info
"Removing cron job"
_info
"Removing cron job"
if
!
crontab
-l
|
grep
'le.sh renewAll'
;
then
if
crontab
-l
|
grep
'le.sh renewAll'
;
then
crontab
-l
|
sed
"/le.sh renewAll/d"
| crontab -
crontab
-l
|
sed
"/le.sh renewAll/d"
| crontab -
if
command
-v
crond
>
/dev/null
;
then
if
command
-v
crond
>
/dev/null
;
then
service crond reload 2>/dev/null
service crond reload 2>/dev/null
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment