Commit 37db5b81 authored by neil's avatar neil
Browse files

uninstall without crontab.

parent 77546ea5
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment