mirror of
https://github.com/YunoHost-Apps/humhub_ynh.git
synced 2024-09-03 19:26:11 +02:00
Fix cron
This commit is contained in:
parent
60440314c6
commit
ead29975e4
2 changed files with 4 additions and 4 deletions
|
@ -41,8 +41,8 @@ version='1.1.0'
|
||||||
sudo chown -R root: $src_path
|
sudo chown -R root: $src_path
|
||||||
|
|
||||||
# Cron
|
# Cron
|
||||||
echo "30 * * * * $src_path/public_html/yiic cron hourly >/dev/null 2>&1" > cron
|
echo "30 * * * * $src_path/protected/yii cron hourly >/dev/null 2>&1" > cron
|
||||||
echo "00 18 * * * $src_path/public_html/yiic cron daily >/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 mv cron /etc/cron.d/${app}
|
||||||
sudo chown root /etc/cron.d/${app}
|
sudo chown root /etc/cron.d/${app}
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ version='1.1.0'
|
||||||
sudo chown -R root: $src_path
|
sudo chown -R root: $src_path
|
||||||
|
|
||||||
# Cron
|
# Cron
|
||||||
echo "30 * * * * $src_path/public_html/yiic cron hourly >/dev/null 2>&1" > cron
|
echo "30 * * * * $src_path/protected/yii cron hourly >/dev/null 2>&1" > cron
|
||||||
echo "00 18 * * * $src_path/public_html/yiic cron daily >/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 mv cron /etc/cron.d/${app}
|
||||||
sudo chown root /etc/cron.d/${app}
|
sudo chown root /etc/cron.d/${app}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue