Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
37db5b81
Commit
37db5b81
authored
Mar 29, 2016
by
neil
Browse files
uninstall without crontab.
parent
77546ea5
Changes
1
Hide whitespace changes
Inline
Side-by-side
le.sh
View file @
37db5b81
...
@@ -1390,6 +1390,9 @@ installcronjob() {
...
@@ -1390,6 +1390,9 @@ installcronjob() {
}
}
uninstallcronjob
()
{
uninstallcronjob
()
{
if
!
_exists
"crontab"
;
then
return
fi
_info
"Removing cron job"
_info
"Removing cron job"
cr
=
"
$(
crontab
-l
|
grep
'le.sh cron'
)
"
cr
=
"
$(
crontab
-l
|
grep
'le.sh cron'
)
"
if
[
"
$cr
"
]
;
then
if
[
"
$cr
"
]
;
then
...
...
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