1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/humhub_ynh.git synced 2024-09-03 19:26:11 +02:00
This commit is contained in:
scith 2016-08-22 00:02:33 +02:00
parent 60440314c6
commit ead29975e4
2 changed files with 4 additions and 4 deletions

View file

@ -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}

View file

@ -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}