1
0
mirror of https://github.com/hiskaNG/acme.sh.git synced 2026-08-20 04:43:03 +00:00
This commit is contained in:
neilpang
2017-01-16 22:36:13 +08:00
parent cf909db159
commit 80941f8413
+3 -3
View File
@@ -3375,18 +3375,18 @@ installcronjob() {
fi
if [ "$_c_home" ]; then
_c_entry="--config-home \"$_c_home\""
_c_entry="--config-home \"$_c_home\" "
fi
if _exists uname && uname -a | grep SunOS >/dev/null; then
crontab -l | {
cat
echo "0 0 * * * $lesh --cron --home \"$LE_WORKING_DIR\" $_c_entry > /dev/null"
echo "0 0 * * * $lesh --cron --home \"$LE_WORKING_DIR\" $_c_entry> /dev/null"
} | crontab --
else
crontab -l | {
cat
echo "0 0 * * * $lesh --cron --home \"$LE_WORKING_DIR\" $_c_entry > /dev/null"
echo "0 0 * * * $lesh --cron --home \"$LE_WORKING_DIR\" $_c_entry> /dev/null"
} | crontab -
fi
fi