Jump to content

Recommended Posts

Posted

I have a template that collects pages based on a date search (today). I send that page to a blog (https://wheniwasbuyingyouadrinkwherewereyou.blogspot.com) with php:

$to = "xxxx@blogger.com";
    $headers = "From: ddv@birthfactdeathcalendar.net\r\n";
    $headers  = 'MIME-Version: 1.0' . "\r\n";
    $headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";

When I load the page in my browser it is sent correctly. When I have it sent by a scheduled CRON job (OVH hosting) I get this error:

[2026-03-09 10:27:02] ## OVH ## START - 2026-03-09 10:27:02.711006 executing: /usr/local/php8.2/bin/php /homez.863/birthfac/www/site/templates/bfd_mailer.php 
[2026-03-09 10:27:02] 
[2026-03-09 10:27:02] 
[2026-03-09 10:27:02] <center>
[2026-03-09 10:27:02] <table width="700">
[2026-03-09 10:27:02] <tr><td>
[2026-03-09 10:27:02] <b><span style="font-size: x-large;"><span style="font-family: &quot;Trebuchet MS&quot;,sans-serif;">
[2026-03-09 10:27:02] <a href="http://www.birthfactdeathcalendar.net">BIRTH(+)FACT(&#5742;)DEATH(-)</a></span></span></b>
[2026-03-09 10:27:02] <br>
[2026-03-09 10:27:02]     <span style='font-size: large;'><span style='font-family: Georgia,&quot;Times New Roman&quot;,serif;'>41st year  -  Nº 68 Monday, 9 March 2026</span></span>        
[2026-03-09 10:27:02] </td></tr>
[2026-03-09 10:27:02] <tr><td>
[2026-03-09 10:27:02] 
[2026-03-09 10:27:02]     
[2026-03-09 10:27:02] ## OVH ## END - 2026-03-09 10:27:02.781779 exitcode: 255

What could be the problem?

Posted

Thanks, looks well worth trying this. According to Matomo I had 31 visitors in the last 24 hours, according to OVH statistics it's 5000, but that includes several bots. Don't know if they will count as valid traffic.

Posted
10 hours ago, monollonom said:

Do you have enough traffic to consider using LazyCron instead?

Tried several things with LazyCron but no success yet. I tried calling it from ready.php but then -if- it works I don't think it would allow loading my bfd_mailer template once a day, say at 1pm.

Posted
6 hours ago, BFD Calendar said:

I tried calling it from ready.php but then -if- it works I don't think it would allow loading my bfd_mailer template once a day, say at 1pm.

Do you mean your LazyCron hook is not triggered?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...