• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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