Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Segments not automatically updating
  • Vote Up0Vote Down BrysonBryson
    Posts: 4Sendy user

    Hi Ben,

    I've been trying to troubleshoot a problem where my segments are not automatically updating via cron job. My segments work correctly when I manually update then one-by-one in the UI, but running "update-segments.php" doesn't seem to work at all, either with the cron job or when I run the script via command line. Running "php ./update-segments.php" from my Sendy installation directory shows no output and doesn't seem to have any effect.

    Any ideas what might be going on here?

    Let me know if there's any other information I can provide that would help diagnose the issue. Thank you!

  • 2 Comments
  • Vote Up0Vote Down BenBen
    Posts: 3,823Sendy support

    Hi,

    Can you please check your server's ‘error_log' to find any possible errors related to this.

    Thanks.

    Best regards,
    Ben

  • Vote Up0Vote Down BrysonBryson
    Posts: 4Sendy user

    Hello! I didn't see any error logs, but digging into the PHP and adding some logs of my own helped me realize that the URL being requested in "file_get_contents_curl" was not found. The server didn't know its own domain name and I needed to add it to /etc/hosts (in my case, "127.0.1.1 https://sendy.mydomain.com"). It seems to be working now. Sorry to bother you!

This discussion has been closed.
All Discussions