• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Problem running a scheduled scheduler.

missever

New Pleskian
Server operating system version
Ubuntu 20.04.6 LTS
Plesk version and microupdate number
Plesk Obsidian Web Pro Edition Version 18.0.53 Update #2
Hi there,

The software I am using requires the following command to be executed every 5 minutes;


I did it like this, but I got the following error;

Task "/opt/plesk/php/8.0/bin/php" completed with error in 0 seconds.


Task "/opt/plesk/php/8.0/bin/php" completed with error in 0 seconds, output:
PHP Parse error: syntax error, unexpected character 0x00 in /opt/plesk/php/8.0/bin/php on line 13613

I ask for your help.

2023-10-17_17-42-24 (2).png
 
You cannot run a PHP binary with "Run a PHP script". If you want to execute the PHP binary yourself, use "Run a command". But normally it is much better to choose "Run a PHP script", but then put the script path and script name into the "Script path" field. Completely omit the PHP binary, that is automatically run by cron, your script and the parameters are passed to it.
 
Back
Top