Hi David
I have a problem and I can not find a solution.
I have two dedicated servers, both in PHP7.2.
On the first one, the cron runs without problems.
On the second, for the same streams (with very long waiting times, about 6 minutes), I always have a result "ERROR - TRANSFER FAILED".
If I click on "run" for each stream, everything works fine.
Apparently, it's the waiting time in the CRON job that does not have to be long enough.
I asked my host, but he does not see the solution.
Would you have an idea to help me?
Thank you in advance.
Cheers,
Raoul
Hi David.
Thank you for your answer.
The variable $config_automationHandler was already in "php".
I replaced it with "auto" and, the CRON job runs without errors.
The "RUN" button works too!
That's great. You helped me :)
Cheers,
Raoul
Hello Raoul,
Try forcing the handler to use PHP internal functions rather than CURL - It's strange for manually running a job to be OK but for it to fail during CRON however in most installations it is a separate PHP binary (Apache Module vs. cli version) and they may be configured slightly differently.
What I would suggest first would be to force php mode as the automation handler. To do this, edit config.advanced.php and look for the following setting at line 43:
$config_automationHandler = "auto";
...and change to:
$config_automationHandler = "php";
After making the change, double check that you can still manually run an Automation Tool job from /admin/, and then let CRON run and see if that makes any difference...
Cheers,
David.
--
PriceTapestry.com