What is the difference between them?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gundogduyakici
    Senior Member
    • Mar 2018
    • 165

    What is the difference between them?

    What is the difference between running a cron job with a service and running only a cron job? Because sometimes when I run it with the service the entity does not work and it does not work.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Long running in any job could happen because of Fatal error. Make this job Pending and run cron.php in terminal

    Comment

    • gundogduyakici
      Senior Member
      • Mar 2018
      • 165

      #3
      I understand. Does the service always work for an entity? What exactly is the purpose of the service?

      Comment

      • yuri
        Member
        • Mar 2014
        • 8492

        #4
        No. Service is not always related to a specific entity type. Any logic you would like to separate you can put into a separate service class.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        Working...