Scheduled Broadcasts didn't send

  1. 7 weeks ago

    I just followed this instruction and added Scheduled Broadcasts cronjob https://mautic.org/docs/en/setup/cron_jobs.html#send-scheduled-broadcasts-e-g-segment-emails
    the email is published and has a published date.
    But the broadcast didn't send (the stat is just pending), what am I missing guys?
    I set the cronjob every ten minutes */10 * * * *

    You created your emails via the red below and added the correct --id=# and --channel=Email in the cronjob?

    -image-

  2. You created your emails via the red below and added the correct --id=# and --channel=Email in the cronjob?

    -image-

  3. Edited 7 weeks ago by deddy

    How the correct command line?
    [--id=64] [--channel=email]
    or I remove the sign [ and ]

    So on each new email segment I have to edit the cronjob again (the id), isn't it?

  4. Edited 7 weeks ago by MxyzptlkFishStix

    Did you create your email using the type in red on the right? It won't work if it's created with the one on the left. Second, you can just use "php mauticdirectory/app/console mautic:broadcasts:send --id=# --channel=Email". Change out # for the appropriate email ID # you want to send.

  5. @MxyzptlkFishStix Thanks it works. Yes I created a segment email, and use cronjob --id=66 --channel=Email and it was successfully. Is there any way I don't need to update the cronjob (change the --id)?
    As now it seems when I'm going to send another segment email I have to update the cronjob everytime.

  6. Haven't tried this yet. but how do you schedule a send? There is no specific time in the cron job?

  7. @imautic to schedule the send, you need to adjust the published date, reference https://mautic.org/docs/en/setup/cron_jobs.html#send-scheduled-broadcasts-e-g-segment-emails

  8. @deddy @MxyzptlkFishStix Thanks it works. Yes I created a segment email, and use cronjob --id=66 --channel=Email and it was successfully. Is there any way I don't need to update the cronjob (change the --id)?
    As now it seems when I'm going to send another segment email I have to update the cronjob everytime.

    I think if you remove the "--id=#" and use the Publish/Unpublish toggle to determine what is sent, you can get around having to edit crontabs.

  9. @MxyzptlkFishStix I think if you remove the "--id=#" and use the Publish/Unpublish toggle to determine what is sent, you can get around having to edit crontabs.

    That is a nice tip.

    So basically now you can schedule an email send by using the "Publish at" calendar picker? As long as you put in that cronjob without the "--id=#" switch?

  10. Edited 7 weeks ago by imautic

    --channel=email
    or
    --channel=emails?

    -image-

  11. Weird, tried everything, can't schedule a send at all. Cron jobs run, but the email was not sent.

  12. Edited 7 weeks ago by deddy

    one another test and removing the "--id=#" works. thanks again @MxyzptlkFishStix
    So now I don't need to update cronjob each time I send a new broadcast email.

  13. How often does your cronjob run?

  14. @imautic How often does your cronjob run?

    check my first message, I set the cronjob every ten minutes */10 * * * *

  15. 4 weeks ago

    Just for confusion: It works with me ONLY, if I neither add --id nor --channel:

    (12:10:52) [app] /usr/bin/env -i /usr/local/bin/php7-70STABLE-CLI console mautic:broadcasts:send
     1/1 [============================] 100%
    +---------------+--------+----------+
    | Channel       | # sent | # failed |
    +---------------+--------+----------+
    | Email: test01 | 1      | 0        |
    | Email: test02 | 0      | 0        |
    +---------------+--------+----------+
  16. 2 weeks ago

    And today it doesn't work app/console mautic:broadcasts:send --channel=email
    whereas it was working many times...
    will try to remove --channel=email

  17. last week

    Try scheduling the broadcast to a future time say 5 minutes from now and then start running the cron.. Worked fine for me was facing the same issue

  18. @deddy And today it doesn't work app/console mautic:broadcasts:send --channel=email
    whereas it was working many times...
    will try to remove --channel=email

    still not working

 

or Sign Up to reply!