• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Issue Cron fails with HTML code as output

jke

New Pleskian
Server operating system version
Ubuntu 20.04.6 LTS
Plesk version and microupdate number
18.0.55 Update #2
Hi Everyone

I'm having an issue on a Wordpress website. The cron job fails when the plugins Yoast and WP-rocket are activated together.
Unfortunately the error output is not clear. I get the HTML code output, but cannot see any details.
Does anyone know where I have to look to see all of it?

Thanks for the help.
errorplesk.png
 
It seems that you have activated the wp-cron.php replacement option in WP Toolkit

1699434446615.png

In that case you'll find a "Scheduled Tasks" entry that you can edit. You could direct the output for that scheduled task to email, e.g.:

1699434544373.png

This will send you the full output by mail.
 
Thanks for the reply. Unfortunately I'm not able to send emails at all. No notifications, no cron job logs. I am using the external SMTP and it should be connected to Office365...
 
I've found a lot of articles, but non of them can get me in te right direction. I keep going in circles for hours now, why this isn't working...
 
Please open a support ticket so that an engineer can assist you. I suggest to first open a ticket on the email issue. If you cannot send mails, that will be best to solve first.

To sign-in to support please go to https://support.plesk.com

If you experience login issues, please see this KB article:
https://support.plesk.com/hc/en-us/...rt-plesk-com-and-password-reset-does-not-work

If you bought your license from a reseller, your reseller should provide support for you. If the reseller does not provide support, here is an alternative:
https://support.plesk.com/hc/en-us/articles/12388090147095-How-to-get-support-directly-from-Plesk-
 
But You run a cron with curl ?
When run cron manually you get same error ?

What about php error_log when you run cron and get error.
 
Back
Top