neilpang 2016-12-21 20:19:57 +08:00
parent 08b6cf0231
commit e2c939fb97
1 changed files with 1 additions and 1 deletions

View File

@ -3359,7 +3359,7 @@ installcronjob() {
_err "Can not install cronjob, $PROJECT_ENTRY not found."
return 1
fi
if _exists uname && uname -a | grep solaris >/dev/null; then
if _exists uname && uname -a | grep SunOS >/dev/null; then
crontab -l | {
cat
echo "0 0 * * * $lesh --cron --home \"$LE_WORKING_DIR\" > /dev/null"