• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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