diff --git a/src/freedombone-app-zap b/src/freedombone-app-zap index a5abed018a94b3dcbbae3943e6640cc94a36d45d..e2fa6a8a29f32b24f21101d68a99d967f6036568 100755 --- a/src/freedombone-app-zap +++ b/src/freedombone-app-zap @@ -457,7 +457,7 @@ function install_zap { chown -R www-data:www-data "$ZAP_PATH/doc" if ! grep -q 'Zotlabs' /etc/crontab; then - echo "*/10 * * * * cd $ZAP_PATH; /usr/bin/php Zotlabs/Daemon/Master.php Cron > /dev/null 2>&1" >> /etc/crontab + echo "*/10 * * * * root cd $ZAP_PATH; /usr/bin/php Zotlabs/Daemon/Master.php Cron > /dev/null 2>&1" >> /etc/crontab fi "${PROJECT_NAME}-addemail" -u "$MY_USERNAME" -e "noreply@$ZAP_DOMAIN_NAME" -g zap --public no