Sending email : Not diretly but after some days

David's Avatar


18 Aug, 2014 11:18 AM


After using Bugify since july, I saw that some times the emails (new ticket, change, etc.) are not send directly.

Today, I logged again in the system (GUI) and after that I received emails from ticket that were created on last friday, it's like the mail were blocked. Do you have any idea from where it could come from?

Thanks in advance for you help,
BTW : Big up for your application, it's just perfect for our needs!

  1. 1 Posted by Robert Kern on 18 Aug, 2014 07:31 PM

    Robert Kern's Avatar

    Hi David,

    Thanks for getting in touch and thanks for your feedback!

    I suspect what is happening is that the ticket was created on Friday and
    then everyone stopped using Bugify for the day? Then Monday was the first
    time since Friday that Bugify was used?

    Bugify doesn't send emails as part of the page loading because it can be
    very slow for some mail servers. So Bugify adds a job to the queue and
    sends it when the queue is processed. By default, the queue is processed
    via ajax when you are using Bugify (so while you have a Bugify page open,
    in the background it is processing the queue). The problem is that if you
    do something that requires a few queue jobs (like adding a ticket) and then
    you stop using Bugify for the day, the queue doesn't get processed until
    the next time Bugify is loaded as you experienced.

    The way to fix this is to run the queue as a cron job. If you go to
    Settings - General Settings, you'll see the option to Run queue jobs
    automatically via ajax. Below that it gives you the path to the cron.php
    file. Rather than deselecting the option to run queue jobs via ajax, I
    would suggest leave that as-is, but also setup a cron job to run the
    cron.php file (which will process the queue).

    If you use both ajax and cron.php then you can run the cron.php file every
    10 to 30mins (or whatever frequency you'd like, but it doesn't need to be
    every minute). Most jobs would be run via ajax as you're using Bugify, but
    cron.php would catch any jobs that need to be run after you stop using
    Bugify for the day.

    Let me know if you have any further questions.



  2. 2 Posted by David on 20 Aug, 2014 07:44 PM

    David's Avatar

    Hi Robert,

    I just had the cronjob today, I will let you know in the next days...

    Thanks again for you tool and for your support!

  3. 3 Posted by David on 20 Aug, 2014 07:45 PM

    David's Avatar

    sorry : I just add the cronjob today...

  4. Robert Kern closed this discussion on 28 Aug, 2014 12:00 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac