Skip to content

Autoresponder doesn't seem to be working

I upgraded from PHP7 to PHP 8.4 (I tried 8.5)
My issues with campaigns have been solved by reverting to 8.4, but now I have issues with autoresponders.

Ubuntu 22.04.5 LTS
PHP 8.4.23
Sendy 7.1.2
Mysql 8.0.46

They used to work.
My reputation is good on SES and I’ve had no recent error. I can send just fine some emails with SES outside of Sendy. My campaigns are hitting 26 000 subscribers (daily at the moment).
I have tried subscribing myself to simple opt-in and double opt-in lists where I have an autoresponder. Confirmation works fine.
I double checked my crontab, which is so perfect it’s insane.

Sendy cron commands

*/5 * * * * /usr/bin/php /mnt/cpositif-html-volume/html/sendy/scheduled.php > /dev/null 2>&1
*/1 * * * * /usr/bin/php /mnt/cpositi-_html-volume/html/sendy/autoresponders.php > /dev/null 2>&1
*/1 * * * * /usr/bin/php /mnt/cpositif-html-volume/html/sendy/import-csv.php > /dev/null 2>&1
*/15 * * * * /usr/bin/php /mnt/cpositif-html-volume/html/sendy/update-segments.php > /dev/null 2>&1

I double checked my php path.

Do you have pointers to what could be blocking my autoresponders?

Comments

  • Hi,

    I checked the crontab you shared closely, and there's a typo in the autoresponders.php line.

    Your other three cron jobs use this path:
    /mnt/cpositif-html-volume/html/sendy/...

    But the autoresponders.php line uses:
    /mnt/cpositi-_html-volume/html/sendy/autoresponders.php

    The volume name doesn't match, it's missing the "f" and has an extra underscore. Since your cron output is redirected to /dev/null 2>&1, this fails silently every time it runs, so nothing ever gets logged or sent.

    Fix that line to match the path used in your other cron jobs, then wait a few minutes for it to run. Log in via SSH and run the corrected command manually first to confirm it executes without errors:

    /usr/bin/php /mnt/cpositif-html-volume/html/sendy/autoresponders.php

    Once that path is fixed, your test signups should trigger the autoresponders as expected.

    Best regards,
    Ben

This discussion has been closed.