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

Campaign not sending (Cron issue, I assume)
  • Vote Up0Vote Down jeff_prodpijeff_prodpi
    Posts: 5Sendy user

    I have a new install of Sendy on a ubuntu stack from Bitnami installed on EC2. I have setup the cron job and the server syslog shows:

    Jun 18 19:30:01 CRON[18548]: (root) CMD (php /opt/bitnami/apache2/htdocs/sendy/scheduled.php > /dev/null 2>&1)

    Jun 18 19:35:01 CRON[18636]: (root) CMD (php /opt/bitnami/apache2/htdocs/sendy/scheduled.php > /dev/null 2>&1)

    Jun 18 19:40:01 CRON[18714]: (root) CMD (php /opt/bitnami/apache2/htdocs/sendy/scheduled.php > /dev/null 2>&1)

    Jun 18 19:45:01 CRON[18790]: (root) CMD (php /opt/bitnami/apache2/htdocs/sendy/scheduled.php > /dev/null 2>&1)

    Jun 18 19:50:01 CRON[18868]: (root) CMD (php /opt/bitnami/apache2/htdocs/sendy/scheduled.php > /dev/null 2>&1)

    Jun 18 19:55:01 CRON[18942]: (root) CMD (php /opt/bitnami/apache2/htdocs/sendy/scheduled.php > /dev/null 2>&1)

    So I assume it is running. I set up a test message and it does not seem to be sending.

    I following a previous forum thread and reset cron setup, created a new campaign and see the "Blue Cron setup modal" box.

    Any tips on how to proceed?

  • 4 Comments
  • Vote Up0Vote Down jeff_prodpijeff_prodpi
    Posts: 5Sendy user

    I can run:

    php /opt/bitnami/apache2/htdocs/sendy/scheduled.php

    from command, so permissions seem fine.

  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    Hi Jeff,

    May I know what is your full cron job command?

    Also, did you use sudo crontab -e to save your cron job?

    Best regards,
    Ben

  • Vote Up0Vote Down jeff_prodpijeff_prodpi
    Posts: 5Sendy user

    Actually got it fixed!

    I used the full PHP binary path in the cron entry: /opt/bitnami/php/bin/php

  • Vote Up0Vote Down BenBen
    Posts: 3,489Sendy support

    Great!

This discussion has been closed.
All Discussions