diff --git a/scripts/install b/scripts/install index cbbd39d..ffb019d 100644 --- a/scripts/install +++ b/scripts/install @@ -41,8 +41,8 @@ version='1.1.0' sudo chown -R root: $src_path # Cron - echo "30 * * * * $src_path/public_html/yiic cron hourly >/dev/null 2>&1" > cron - echo "00 18 * * * $src_path/public_html/yiic cron daily >/dev/null 2>&1" > cron + echo "30 * * * * $src_path/protected/yii cron hourly >/dev/null 2>&1" > cron + echo "00 18 * * * $src_path/protected/yii cron daily >/dev/null 2>&1" > cron sudo mv cron /etc/cron.d/${app} sudo chown root /etc/cron.d/${app} diff --git a/scripts/upgrade b/scripts/upgrade index 8385cec..b72b9cf 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -26,8 +26,8 @@ version='1.1.0' sudo chown -R root: $src_path # Cron - echo "30 * * * * $src_path/public_html/yiic cron hourly >/dev/null 2>&1" > cron - echo "00 18 * * * $src_path/public_html/yiic cron daily >/dev/null 2>&1" > cron + echo "30 * * * * $src_path/protected/yii cron hourly >/dev/null 2>&1" > cron + echo "00 18 * * * $src_path/protected/yii cron daily >/dev/null 2>&1" > cron sudo mv cron /etc/cron.d/${app} sudo chown root /etc/cron.d/${app}