mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-09 00:13:17 +08:00
uninstall without crontab.
This commit is contained in:
3
le.sh
3
le.sh
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user