Notifications

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Philipp
    Junior Member
    • Aug 2014
    • 20

    Notifications

    Hello,

    what is at the moment displayed in the notifications window at the top (bell icon)?
    For me the window is always empty (shows text "no data").
    Is there a possibility to be notified x minutes before a call/meeting starts? Please move to feature requests if not. Thank you.

    Kind regards,
    Philipp
  • yuri
    Member
    • Mar 2014
    • 8443

    #2
    Hi

    If you setup cron (Administration >> Scheduled Jobs) you will receive notifications related to records you follow. Events reminders feature is in our roadmap.
    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

    • Philipp
      Junior Member
      • Aug 2014
      • 20

      #3
      I am using a hosted server and just set up a cronjob which runs every 5 minutes.
      Do I have to do something else directly in EspoCRM to get it work?
      How can I test if it's working properly?

      Comment

      • yuri
        Member
        • Mar 2014
        • 8443

        #4
        1. Create record under User 1 and assign to User 2
        2. Login as User 2 and you should see notification if the feature works.
        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

        • Philipp
          Junior Member
          • Aug 2014
          • 20

          #5
          Hi,

          it does not seem to work for me.
          Should there be entries in table "scheduled_job_log_record"? Does the cron.php produce an output? Can you describe the function a little bit more detailed? which tables are used in which order?

          Kind regards,
          Philipp

          Comment

          • yuri
            Member
            • Mar 2014
            • 8443

            #6
            Not sure whether log works in 2.4 version. Take a look to job table after cron run.
            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

            • Philipp
              Junior Member
              • Aug 2014
              • 20

              #7
              Hi,

              I got it working now. I had a problem with the cronjob configuration.
              I cannot directly call your cron.php from a crontab like discribed in "administration - scheduled jobs".
              I had to write a script and call this script from a cronjob. The script looks like this:

              Code:
              #!/usr/local/bin/php5.5.14-cli
              <?php
              exec('/usr/local/bin/php5.5.14-cli -f /kunden/349905_63477/EspoCRM.Test/cron.php > /dev/null 2>&1');
              exit(0);
              ?>
              Maybe this helps someone with the same problem.

              Other question: When is the delete-flag set for a notification? When I click on "mark all read" the notification does not disappear. When does it disappear?

              Comment

              • alasdaircr
                Active Community Member
                • Aug 2014
                • 525

                #8
                Not sure why you can't just call the cron script like this:
                Code:
                * * * * * /usr/bin/php -f /[location_of_your_installation]/cron.php > /dev/null 2>&1
                Make sure you are editing the crontab for the user which runs the webserver.

                Code:
                sudo crontab -u www-data -e
                Look in the database table job, if there is a job with status 'Pending' or 'Running' then it will stop other jobs from running. You should delete these rows. I had this issue while testing my eventbrite job.

                Comment

                • yuri
                  Member
                  • Mar 2014
                  • 8443

                  #9
                  No ability to remove notifications. Mark all read will remove NEW mark.
                  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

                  • san4izl
                    Junior Member
                    • May 2016
                    • 9

                    #10
                    Hi. My notifications do not work. Need your help, guys!

                    I added the cron task, but the notifications do not work. All empty

                    Comment

                    Working...