When running a scheduled task from within Plesk I get the message "completed with error". If I run the same command from a shell there is no problem and the cronjob gets executed the way it should be.
The cronjob is:
wget --no-check-certificate -O /dev/null -q https://<url>/<page.php>
This is what I see in panel.log:
[2016-10-12 13:16:24] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/cron_task_executor' '-u' '<username>' '-c' 'wget --no-check-certificate -O /dev/null -q https://<url>/<page.php>' '--env' 'SHELL=/usr/local/psa/bin/chrootsh'] with exit code [1]
[2016-10-12 13:16:24] ERR [1] '/usr/local/psa/admin/bin/cron_task_executor' '-u' '<username>' '-c' 'wget --no-check-certificate -O /dev/null -q https://<url>/<page.php>' '--env' 'SHELL=/usr/local/psa/bin/chrootsh' failed with code 1.
Any idea what is going wrong inside the panel?
The cronjob is:
wget --no-check-certificate -O /dev/null -q https://<url>/<page.php>
This is what I see in panel.log:
[2016-10-12 13:16:24] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/cron_task_executor' '-u' '<username>' '-c' 'wget --no-check-certificate -O /dev/null -q https://<url>/<page.php>' '--env' 'SHELL=/usr/local/psa/bin/chrootsh'] with exit code [1]
[2016-10-12 13:16:24] ERR [1] '/usr/local/psa/admin/bin/cron_task_executor' '-u' '<username>' '-c' 'wget --no-check-certificate -O /dev/null -q https://<url>/<page.php>' '--env' 'SHELL=/usr/local/psa/bin/chrootsh' failed with code 1.
Any idea what is going wrong inside the panel?