I am running plesk 17 on an ubuntu 16.04 LTS vServer and I have installed the magicspam extension.
The system reports the following error when it tried to run ms_purge_notifications.php last night:
/opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/magicspam/scripts/ms_purge_notifications.php'
Failed to run notification cleanup task: Execution /opt/psa/admin/sbin/modules/magicspam/ms_purge_notifications has failed with exit code 127, stdout: , stderr: sh: /opt/psa/admin/bin/opt/psa/admin/sbin/modules/magicspam/ms_purge_notifications: No such file or directory
Looking at the error I think there is a problem with path expansion.
The script resides at: /opt/psa/admin/sbin/modules/magicspam/ms_purge_notifications but the system tries to run
/opt/psa/admin/bin/opt/psa/admin/sbin/modules/magicspam/ms_purge_notifications which does not exist.
The system reports the following error when it tried to run ms_purge_notifications.php last night:
/opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/magicspam/scripts/ms_purge_notifications.php'
Failed to run notification cleanup task: Execution /opt/psa/admin/sbin/modules/magicspam/ms_purge_notifications has failed with exit code 127, stdout: , stderr: sh: /opt/psa/admin/bin/opt/psa/admin/sbin/modules/magicspam/ms_purge_notifications: No such file or directory
Looking at the error I think there is a problem with path expansion.
The script resides at: /opt/psa/admin/sbin/modules/magicspam/ms_purge_notifications but the system tries to run
/opt/psa/admin/bin/opt/psa/admin/sbin/modules/magicspam/ms_purge_notifications which does not exist.