Cron job does not seem to be running as oftern as it should

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • matthew-whelan
    Junior Member
    • Nov 2024
    • 3

    Cron job does not seem to be running as oftern as it should

    The cron to check inbound email should be running every one minute, however, it only seems to be checking every thirty minutes or so.
    Does anybody know what this could be?
    It does not work, not just every minute as it should. I did set it to every 5 minutes, thinking it was maybe running too often, but that did not seem change anything.
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hi,
    check your hosting provider restriction.
    in my experiment, i have same random time cron in a hosting provider.
    all "own hosted" or "dedicaced server" i have no this strange cron random time.


    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment


    • matthew-whelan
      matthew-whelan commented
      Editing a comment
      Ok thank you, yes I'll have a look into hosting provider restrictions. Thank you!
  • Vadym
    Super Moderator
    • Jun 2021
    • 345

    #3
    Hi matthew-whelan,

    What web hosting and web server you're using? Try to rebuild your instance and recheck the issue.

    Comment


    • matthew-whelan
      matthew-whelan commented
      Editing a comment
      My server is Apache /CloudLinux v7.9.0.
      I did the rebuild, but the issue is still there unfortuenetly!
  • matthew-whelan
    Junior Member
    • Nov 2024
    • 3

    #4
    Ahh, I know what it is.

    So the in the back end of my instance, I have the email to check every one minute.

    However, the cron that is in my cpanel, which runs all the crons is to set to run at 11,27,34,45 mins.

    Should I change that to every minute? Would that be ok?

    thank you!

    Comment


    • victor
      victor commented
      Editing a comment
      Of course it should be * * * * *

    • matthew-whelan
      matthew-whelan commented
      Editing a comment
      Ok perfect, thank you! I've updated that now, and it's all working fine!
Working...