Hi Jennifer, I believe the granularity is only a way to group notices together, and doesn't actually affect when it runs. The cron settings are what link a particular granularity to a frequency. So if your server already has a cron job for triggers with no granularity, then removing the granularity from your trigger would allow it to be run the next time the cron job sequence runs. However, it is possible your trigger has already been getting processed and piling up a lot of "pending" notices. If this is the case, then removing the granularity might send those "pending" notices, which may be redundant or outdated. So it's probably best to coordinate with your server/database administrator.
Here is some documentation about the cron script, in case your server admin needs it: http://docs.evergreen-ils.org/3.0/_processing_action_triggers.html Remington On Fri, Feb 2, 2018 at 9:13 AM Walz, Jennifer <jlw...@asbury.edu> wrote: > Remington, > > > > I don’t have direct access to the server processes so I cannot speak to > the first part. Could be there is a cron job, but I will have to ask > someone to check on that for me. > > > > I will look into the second part regarding the delay. > > > > Do you know if I took off the granularity, would it run just once when > the user hit the limit? At this point, I am not sure it runs at all. > So, I am wondering if there is something else that is not set correctly. > > > > Thanks! > > > > Jennifer > > > > *From:* Open-ils-general [mailto: > open-ils-general-boun...@list.georgialibraries.org] *On Behalf Of *Remington > Steed > *Sent:* Friday, February 02, 2018 8:57 AM > *To:* Evergreen Discussion Group > *Subject:* Re: [OPEN-ILS-GENERAL] Billing notices > > > > Hi Jennifer, > > It seems you have a granularity of "Weekly" for this trigger. Do you have > a cron job setup for "action_trigger_runner.pl --run-pending > --granularity=Weekly" ? If you run that script without a "--granularity" > specific, I believe it will only run triggers with a blank granularity > value. > > Regarding repeated events, take a look at the “Event Repeatability Delay” > field on the Action Trigger Event Definition: > > *http://docs.evergreen-ils.org/3.0/_notifications_action_triggers.html > <http://docs.evergreen-ils.org/3.0/_notifications_action_triggers.html>* > > > The docs say “Allows events to be repeated after this delay interval”, > which is not very detailed, but sounds like it would help. I recall someone > saying it's important to have the correct combination of repeatability and > "Max Event Validity Delay". > > > > Remington > > -- > Remington Steed > Electronic Resources Specialist > Hekman Library, Calvin College > http://library.calvin.edu/ > > > > *From:* Open-ils-general [mailto: > open-ils-general-boun...@list.georgialibraries.org] *On Behalf Of *Walz, > Jennifer > *Sent:* Thursday, February 01, 2018 7:16 PM > *To:* Evergreen Discussion Group < > email@example.com> > *Subject:* [OPEN-ILS-GENERAL] Billing notices > > > > All – > > > > I think we are having trouble with our ‘billing’ notice. I am not sure > we have it set correctly with the right trigger and so forth. Patrons do > not seem to be getting these, even when we think the conditions have been > met. > > > > What we want is for when a patron goes past the $5.00 limit in total > amount owed, to be sent a notice saying that. And also telling them that > their ability to check out is now prevented. In addition, we would like > this to REPEAT every week (can we set it smaller?) until it is paid down > below that limit. Is this possible? > > > > What we have set now is this: > > What are the correct hooks, processing delay, validators, and > granularity that we do want to set? Am I missing something? What other > settings do we need? > > > > Thanks! > > > Jennifer > > -------------------------------------------------- > Jennifer Walz, MLS - Head of ILS Financial Services > Kinlaw Library - Asbury University > 1 Macklem Drive, Wilmore, KY 40390 > <https://maps.google.com/?q=1+Macklem+Drive,+Wilmore,+KY+40390&entry=gmail&source=g> > 859-858-3511 ext. 2269 <(859)%20858-3511> > jlw...@asbury.edu > > >