Chad Reitsma
New Pleskian
Hey guys,
I ran into a weird issue when using a scheduled task on one of our client's Wordpress installations.
Some background information:
But Short open tags are set to "ON" inside of the domain's PHP settings.
I'm guessing it's not using those settings because it's being executed directly from the command-line.
I ran into a weird issue when using a scheduled task on one of our client's Wordpress installations.
Some background information:
- The scheduled task is set up as "Run a PHP Script" without arguments.
- We have changed the 'Access to the server over SSH' to /usr/bin/bash
- PHP Options - Use short open tags is "ON"
- The full command inside of crontab is: /opt/plesk/php/7.4/bin/php -f 'httpdocs/rebill.php'
But Short open tags are set to "ON" inside of the domain's PHP settings.
I'm guessing it's not using those settings because it's being executed directly from the command-line.