Cron Jobs - What is this email telling me?
Usually, when there is an issue with a cron job set by cPanel... I will get an email that either tells me what went wrong or at least points me towards an issue I can fix.
I also get regulars emails from different accounts (running WordPress) on the server that seem to just send me random links and HTML code. For example:
<strong style="color:lightgreen;">OK</strong> https://www.website.com/support/ (desktop)<br><strong style="color:lightgreen;">OK</strong> https://www.website.com/services/domain-names/ (desktop)<br><strong style="color:lightgreen;">OK</strong> https://www.website.com/thanks/ (desktop)<br><strong style="color:lightgreen;">OK</strong> https://www.website.com/services/web-site-monitoring/ (desktop)<br><br>4 page have been cached<br><br>homepage: 1/1<br>post: 10/10<br>page: 13/17<br>
They all have the CSS tag "style="color:lightgreen;" in them, which I looked for any reference that may be using them, whether correctly or not and none of these sites seem to use the "lightgreen" tag anywhere.
This message is coming from Wordpress file, "wp-cron.php" and a cpanel cron setup like so:
cd /home/website/public_html; php -q wp-cron.php
Any ideas why CRON is sending me these emails and / or what I can do about it?
thanks,
-
Hey there! What's the From/Sender of this message when you get it? I can't say I'm familiar with this issue and I'm not finding much in my searches either.
0 -
No luck with searching anywhere for me either & why I am here ;)
The email is sent by the server from the server's hostname and enveloped from the particular cpanel account to the server's root email which is enveloped by same cpanel user account...
Here's is example email source:
Received: from cpaccount by server.hostname.com with local (Exim 4.97.1)
(envelope-from <cpaccount@server.hostname.com>)
id 1slWL6-0000000Glx4-0Vsk
for admin@hostname.com;
Tue, 03 Sep 2024 12:25:08 -0400
From: "(Cron Daemon)" <cpaccount@server.hostname.com>0 -
From what I'm finding, this is just a normal notification from wp-cron.php. The "lightgreen" entry is just the HTML code that would highlight the "OK" portion of the text.
If you don't need to get the notifications I'd just adjust the cron to send the output to /dev/null as outlined here:
0 -
hmmm. guess that is all it is. I viewed the above code as an HTML page and it just looks like a simple report telling me (in this case) that these 4 pages were cached and the cached status of other WordPress post types. Possibly something coming from the Yoast SEO plugin?
Thanks for looking into this :)
0 -
I can't say for sure exactly what would spawn those since that's something WordPress is handling, but yes, it seems that's really all it is!
1
Please sign in to leave a comment.
Comments
5 comments