If you setup some cron task from Sentora that does not work, ensure the following are correct:
1) Ensure that the directory /var/spool/cron is owned by apache:apache and with permissions 770
2) Ensure that the directory /var/spool/cron/apache is owned by apache:apache and with permissions 660
3) The correct cron script path would look like:
There was a hickup with starting "/" required or not. It seems it was accepted until some last update of CentOs or Sentora but it MUST NOT be present now. In case of problem ensure the task path is correct with
crontab -u apache -l
Ensure that the directory /var/spool/cron/crontabs is reachable by www-data-www-data
3) The correct cron script path would look like:
The same remark than to CenOs apply. In case of problem ensure the task path is correct with
sudo crontab -u www-data -l
By default, ubuntu is stup with cron log written in /var/log/syslog file. You can get them with:
grep CRON /var/log/syslog
To create a separate logfile for cron tasks, read here.
The starting slash MUST NOT be present. The script path would look like :