• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Problem with scheduled task

gijsbert

Basic Pleskian
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?
 
Back
Top