Hello, I am trying to understand why the cronjob shows me the cron execution task bat the task is not executed! I mean that the syslog shows me correctly all the cron execution log but if I check the website task is not executed. I have created a test.php file that send an email and set the cronjob by the ISPConfig panel. I have executed the test.php file by calling it by the browser and I have received the email. The syslog: thanks guys!
I have discovered another thing: I have changed the call method from a direct http link to the bash command: BEFORE: /usr/bin/wget --verbose --user-agent='Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0' -t 1 -T 7200 'http://shop.mydomain.it/test.php' AFTER: /usr/bin/php /var/www/shop.mydomain.it/web/test.php Now when the Crontab is executed it doesn't generate any error but the bash command doesn't execute the code in the php and the email message is not sent BUT if I call by the SHELL this command: I receive the mail message! Why?!?!? thanks for the patience!
Good morning guys, I am investigating about the cronjob issue on my servers. Seems that the scripts are not executed for an enviroment variables configuration issue. These are my Enviroment Variables: Could be this the problem?