Hello,
I’m running Pydio 8.0.1 on RHEL 7 with PHP 7.0
The www-data user (owner of the /var/ww/html/pydio files) receives every minute the following error :
/bin/sh: NEW_CRON: command not found
Any idea on how to solve this ?
Regards,
Niels
Hello,
I’m running Pydio 8.0.1 on RHEL 7 with PHP 7.0
The www-data user (owner of the /var/ww/html/pydio files) receives every minute the following error :
/bin/sh: NEW_CRON: command not found
Any idea on how to solve this ?
Regards,
Niels
@c12simple do you have any idea?
Hi,
Do you have any cron task for php/pydio ? Just look for it in /etc/cron* (all files in this location)
I found this
cat /var/spool/cron/www-data
I guess Pydio is unable to create entries in there ?
In order to run jobs from the scheduler do I need to have this in /etc/crontab ?
*/5 * * * * /usr/local/bin/php /var/www/html/pydio/cmd.php -r=ajxp_conf -u=admin -p= -a=scheduler_runAll >> /var/www/pydio/data/cache/cmd_outputs/cron_commands.log
This gives the following error in the crontab :
Nov 8 16:35:01 [localhost] crond[1213]: (/usr/local/bin/php) ERROR (getpwnam() failed)
In order to run jobs from the scheduler do I need to have this in /etc/crontab ?
*/5 * * * * /usr/local/bin/php /var/www/html/pydio/cmd.php -r=ajxp_conf -u=admin -p= -a=scheduler_runAll >> /var/www/pydio/data/cache/cmd_outputs/cron_commands.log
Yes but it requires to specify username
*/5 * * * * www-data /usr/local/bin/php /var/www/html/pydio/cmd.php -r=ajxp_conf -u=admin -p= -a=scheduler_runAll >> /var/www/pydio/data/cache/cmd_outputs/cron_commands.log
And try to emty /var/spool/cron/www-data