Re: [OPEN-ILS-GENERAL] Action triggers
David, yes, I read through it. I think I am still missing something though. On Aug 2, 2012, at 21:42 , David Busby wrote: Alexey, Did you see this one: http://open-ils.org/dokuwiki/doku.php?id=evergreen-user:action_trigger I recently made updates to that page while working with A/T -- David Busby Edoceo, Inc. http://edoceo.com/ 206.282.6500 On Thu, Aug 2, 2012 at 3:09 PM, Lazar, Alexey Vladimirovich alexey.la...@mnsu.edu wrote: Hello, everybody. In Evergreen documentation for versions 1.6 and 2.0 I can locate the section on Processing Action Triggers [1]. I can't seem to find the equivalent section in documentation for versions 2.1 and 2.2. I am working with 2.2. Is the information [1] still relevant? Or are action triggers processed differently these days? Any help is welcome, including in the form of a link to a piece of documentation or a list thread I may have overlooked when searching for information on this topic. Thanks! [1] http://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.html Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/
Re: [OPEN-ILS-GENERAL] Action triggers
The http://open-ils.org/dokuwiki/doku.php?id=evergreen-user:action_trigger page seems to describe how the process works and what the fields in the client mean when setting up action triggers. From that page and other documentation I gather that active triggers happen automatically and passive triggers need a cron job. Ok. My question is still whether or not http://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.html is relevant in current versions, or if this process has been replaced with other better ways of doing this. Is it a problem of missing documentation for this section in 2.1 and 2.2? Or was the section removed from documentation because the feature is obsolete or no longer needed or not recommended? If you are a sysadmin, are you using action_trigger_runner.pl or what other scripts as cron jobs for things like overdues, etc.? Thanks. On Aug 3, 2012, at 09:15 , Lazar, Alexey Vladimirovich wrote: David, yes, I read through it. I think I am still missing something though. On Aug 2, 2012, at 21:42 , David Busby wrote: Alexey, Did you see this one: http://open-ils.org/dokuwiki/doku.php?id=evergreen-user:action_trigger I recently made updates to that page while working with A/T -- David Busby Edoceo, Inc. http://edoceo.com/ 206.282.6500 On Thu, Aug 2, 2012 at 3:09 PM, Lazar, Alexey Vladimirovich alexey.la...@mnsu.edu wrote: Hello, everybody. In Evergreen documentation for versions 1.6 and 2.0 I can locate the section on Processing Action Triggers [1]. I can't seem to find the equivalent section in documentation for versions 2.1 and 2.2. I am working with 2.2. Is the information [1] still relevant? Or are action triggers processed differently these days? Any help is welcome, including in the form of a link to a piece of documentation or a list thread I may have overlooked when searching for information on this topic. Thanks! [1] http://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.html Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/
Re: [OPEN-ILS-GENERAL] Action triggers
Hi Alexey, I didn't get a chance to read through all the documentation links being shared thus far, but I can tell you that we are still using the exact same process for action_trigger_runner.pl since 2.0. There's a few new options that we're still experimenting with, such as granularity and processing in parallel, but largely our nightly processes have gone unchanged. Presently we chose to operate our cronjobs similarly to how they were established in crontab.example that's included with the Evergreen code with some adjustments based on our own desired operating schedule. Since nothing significant has changed though, I would assume that information in older 2.0 docs are likely still valuable. As for why it's missing from 2.1/2.2, I'm unclear on how DIG decides to port documentation forward, but that seems like a good question to have DIG members respond to. -- Ben On 08/03/2012 01:18 PM, Lazar, Alexey Vladimirovich wrote: The http://open-ils.org/dokuwiki/doku.php?id=evergreen-user:action_trigger page seems to describe how the process works and what the fields in the client mean when setting up action triggers. From that page and other documentation I gather that active triggers happen automatically and passive triggers need a cron job. Ok. My question is still whether or not http://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.html is relevant in current versions, or if this process has been replaced with other better ways of doing this. Is it a problem of missing documentation for this section in 2.1 and 2.2? Or was the section removed from documentation because the feature is obsolete or no longer needed or not recommended? If you are a sysadmin, are you using action_trigger_runner.pl or what other scripts as cron jobs for things like overdues, etc.? Thanks. On Aug 3, 2012, at 09:15 , Lazar, Alexey Vladimirovich wrote: David, yes, I read through it. I think I am still missing something though. On Aug 2, 2012, at 21:42 , David Busby wrote: Alexey, Did you see this one: http://open-ils.org/dokuwiki/doku.php?id=evergreen-user:action_trigger I recently made updates to that page while working with A/T -- David Busby Edoceo, Inc. http://edoceo.com/ 206.282.6500 On Thu, Aug 2, 2012 at 3:09 PM, Lazar, Alexey Vladimirovich alexey.la...@mnsu.edu wrote: Hello, everybody. In Evergreen documentation for versions 1.6 and 2.0 I can locate the section on Processing Action Triggers [1]. I can't seem to find the equivalent section in documentation for versions 2.1 and 2.2. I am working with 2.2. Is the information [1] still relevant? Or are action triggers processed differently these days? Any help is welcome, including in the form of a link to a piece of documentation or a list thread I may have overlooked when searching for information on this topic. Thanks! [1] http://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.html Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ -- Benjamin Shum Open Source Software Coordinator Bibliomation, Inc. 32 Crest Road Middlebury, CT 06762 203-577-4070, ext. 113
Re: [OPEN-ILS-GENERAL] Action triggers
Alexay, It isn't a part of the documentation largely because no one has taken it on to put int Ascii Doc. If you could convert it to ASCII Doc and submit it to DIG that would be helpful (dig list is open-ils-documentat...@list.georgialibraries.org) Tim On Fri, Aug 3, 2012 at 1:50 PM, Ben Shum bs...@biblio.org wrote: Hi Alexey, I didn't get a chance to read through all the documentation links being shared thus far, but I can tell you that we are still using the exact same process for action_trigger_runner.pl since 2.0. There's a few new options that we're still experimenting with, such as granularity and processing in parallel, but largely our nightly processes have gone unchanged. Presently we chose to operate our cronjobs similarly to how they were established in crontab.example that's included with the Evergreen code with some adjustments based on our own desired operating schedule. Since nothing significant has changed though, I would assume that information in older 2.0 docs are likely still valuable. As for why it's missing from 2.1/2.2, I'm unclear on how DIG decides to port documentation forward, but that seems like a good question to have DIG members respond to. -- Ben On 08/03/2012 01:18 PM, Lazar, Alexey Vladimirovich wrote: The http://open-ils.org/dokuwiki/**doku.php?id=evergreen-user:** action_triggerhttp://open-ils.org/dokuwiki/doku.php?id=evergreen-user:action_triggerpage seems to describe how the process works and what the fields in the client mean when setting up action triggers. From that page and other documentation I gather that active triggers happen automatically and passive triggers need a cron job. Ok. My question is still whether or not http://docs.evergreen-ils.org/** 2.0/draft/html/**ProcessingActionTriggers.htmlhttp://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.htmlis relevant in current versions, or if this process has been replaced with other better ways of doing this. Is it a problem of missing documentation for this section in 2.1 and 2.2? Or was the section removed from documentation because the feature is obsolete or no longer needed or not recommended? If you are a sysadmin, are you using action_trigger_runner.pl or what other scripts as cron jobs for things like overdues, etc.? Thanks. On Aug 3, 2012, at 09:15 , Lazar, Alexey Vladimirovich wrote: David, yes, I read through it. I think I am still missing something though. On Aug 2, 2012, at 21:42 , David Busby wrote: Alexey, Did you see this one: http://open-ils.org/dokuwiki/**doku.php?id=evergreen-user:** action_triggerhttp://open-ils.org/dokuwiki/doku.php?id=evergreen-user:action_trigger I recently made updates to that page while working with A/T -- David Busby Edoceo, Inc. http://edoceo.com/ 206.282.6500 On Thu, Aug 2, 2012 at 3:09 PM, Lazar, Alexey Vladimirovich alexey.la...@mnsu.edu wrote: Hello, everybody. In Evergreen documentation for versions 1.6 and 2.0 I can locate the section on Processing Action Triggers [1]. I can't seem to find the equivalent section in documentation for versions 2.1 and 2.2. I am working with 2.2. Is the information [1] still relevant? Or are action triggers processed differently these days? Any help is welcome, including in the form of a link to a piece of documentation or a list thread I may have overlooked when searching for information on this topic. Thanks! [1] http://docs.evergreen-ils.org/**2.0/draft/html/** ProcessingActionTriggers.htmlhttp://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.html Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ -- Benjamin Shum Open Source Software Coordinator Bibliomation, Inc. 32 Crest Road Middlebury, CT 06762 203-577-4070, ext. 113 -- Tim Spindler tjspind...@gmail.com *P** Go Green - **Save a tree! Please don't print this e-mail unless it's really necessary.*
Re: [OPEN-ILS-GENERAL] Action triggers
Ben and Alexey, We try to get documentation reviewed or tested before it is ported forward. Usually this is coordinated by the content coordinators. http://open-ils.org/dokuwiki/doku.php?id=evergreen-docs:digparticipants However, anyone can report that docs can be ported forward by either: a. Indicating documentation it good to be ported in the outline for the version: 2.2: http://open-ils.org/dokuwiki/doku.php?id=evergreen-docs_2.2:outline 2.3: http://open-ils.org/dokuwiki/doku.php?id=evergreen-docs_2.3:outline b. Sending a note on the documentation list to indicate that documentation is ready to go into a more current version. Regards, Robert Robert Soulliere, BA (Hons), MLIS Systems Librarian Mohawk College Library robert.soulli...@mohawkcollege.ca Telephone: 905 575 1212 x3936 Fax: 905 575 2011 From: open-ils-general-boun...@list.georgialibraries.org [open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Ben Shum [bs...@biblio.org] Sent: August 3, 2012 1:50 PM To: open-ils-general@list.georgialibraries.org Subject: Re: [OPEN-ILS-GENERAL] Action triggers Hi Alexey, I didn't get a chance to read through all the documentation links being shared thus far, but I can tell you that we are still using the exact same process for action_trigger_runner.pl since 2.0. There's a few new options that we're still experimenting with, such as granularity and processing in parallel, but largely our nightly processes have gone unchanged. Presently we chose to operate our cronjobs similarly to how they were established in crontab.example that's included with the Evergreen code with some adjustments based on our own desired operating schedule. Since nothing significant has changed though, I would assume that information in older 2.0 docs are likely still valuable. As for why it's missing from 2.1/2.2, I'm unclear on how DIG decides to port documentation forward, but that seems like a good question to have DIG members respond to. -- Ben On 08/03/2012 01:18 PM, Lazar, Alexey Vladimirovich wrote: The http://open-ils.org/dokuwiki/doku.php?id=evergreen-user:action_trigger page seems to describe how the process works and what the fields in the client mean when setting up action triggers. From that page and other documentation I gather that active triggers happen automatically and passive triggers need a cron job. Ok. My question is still whether or not http://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.html is relevant in current versions, or if this process has been replaced with other better ways of doing this. Is it a problem of missing documentation for this section in 2.1 and 2.2? Or was the section removed from documentation because the feature is obsolete or no longer needed or not recommended? If you are a sysadmin, are you using action_trigger_runner.pl or what other scripts as cron jobs for things like overdues, etc.? Thanks. On Aug 3, 2012, at 09:15 , Lazar, Alexey Vladimirovich wrote: David, yes, I read through it. I think I am still missing something though. On Aug 2, 2012, at 21:42 , David Busby wrote: Alexey, Did you see this one: http://open-ils.org/dokuwiki/doku.php?id=evergreen-user:action_trigger I recently made updates to that page while working with A/T -- David Busby Edoceo, Inc. http://edoceo.com/ 206.282.6500 On Thu, Aug 2, 2012 at 3:09 PM, Lazar, Alexey Vladimirovich alexey.la...@mnsu.edu wrote: Hello, everybody. In Evergreen documentation for versions 1.6 and 2.0 I can locate the section on Processing Action Triggers [1]. I can't seem to find the equivalent section in documentation for versions 2.1 and 2.2. I am working with 2.2. Is the information [1] still relevant? Or are action triggers processed differently these days? Any help is welcome, including in the form of a link to a piece of documentation or a list thread I may have overlooked when searching for information on this topic. Thanks! [1] http://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.html Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ -- Benjamin Shum Open Source Software Coordinator Bibliomation, Inc. 32 Crest Road Middlebury, CT 06762 203-577-4070, ext. 113 This E-mail contains privileged and confidential information intended only for the individual or entity named in the message. If the reader of this message is not the intended recipient, or the agent responsible to deliver it to the intended recipient, you are hereby notified that any review, dissemination, distribution or copying of this communication is prohibited. If this communication was received in error, please notify
Re: [OPEN-ILS-GENERAL] Action triggers
Alexey, Yes, that draft document is still relevant. We do like Ben does using that 2.0 draft as a reference for creating cron task with action trigger runner. I've updated the Wiki page with some examples. ATR processes holds available / expiration, checkout due emails (or sms), password resets and almost whatever other automagic tasks your organization can think of. -- David Busby Edoceo, Inc. http://edoceo.com/ 206.282.6500 On Fri, Aug 3, 2012 at 10:18 AM, Lazar, Alexey Vladimirovich alexey.la...@mnsu.edu wrote: The http://open-ils.org/dokuwiki/doku.php?id=evergreen-user:action_trigger page seems to describe how the process works and what the fields in the client mean when setting up action triggers. From that page and other documentation I gather that active triggers happen automatically and passive triggers need a cron job. Ok. My question is still whether or not http://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.html is relevant in current versions, or if this process has been replaced with other better ways of doing this. Is it a problem of missing documentation for this section in 2.1 and 2.2? Or was the section removed from documentation because the feature is obsolete or no longer needed or not recommended? If you are a sysadmin, are you using action_trigger_runner.pl or what other scripts as cron jobs for things like overdues, etc.? Thanks. On Aug 3, 2012, at 09:15 , Lazar, Alexey Vladimirovich wrote: David, yes, I read through it. I think I am still missing something though. On Aug 2, 2012, at 21:42 , David Busby wrote: Alexey, Did you see this one: http://open-ils.org/dokuwiki/doku.php?id=evergreen-user:action_trigger I recently made updates to that page while working with A/T -- David Busby Edoceo, Inc. http://edoceo.com/ 206.282.6500 On Thu, Aug 2, 2012 at 3:09 PM, Lazar, Alexey Vladimirovich alexey.la...@mnsu.edu wrote: Hello, everybody. In Evergreen documentation for versions 1.6 and 2.0 I can locate the section on Processing Action Triggers [1]. I can't seem to find the equivalent section in documentation for versions 2.1 and 2.2. I am working with 2.2. Is the information [1] still relevant? Or are action triggers processed differently these days? Any help is welcome, including in the form of a link to a piece of documentation or a list thread I may have overlooked when searching for information on this topic. Thanks! [1] http://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.html Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/ Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/
[OPEN-ILS-GENERAL] Action triggers
Hello, everybody. In Evergreen documentation for versions 1.6 and 2.0 I can locate the section on Processing Action Triggers [1]. I can't seem to find the equivalent section in documentation for versions 2.1 and 2.2. I am working with 2.2. Is the information [1] still relevant? Or are action triggers processed differently these days? Any help is welcome, including in the form of a link to a piece of documentation or a list thread I may have overlooked when searching for information on this topic. Thanks! [1] http://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.html Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/
Re: [OPEN-ILS-GENERAL] Action triggers
Alexey, Did you see this one: http://open-ils.org/dokuwiki/doku.php?id=evergreen-user:action_trigger I recently made updates to that page while working with A/T -- David Busby Edoceo, Inc. http://edoceo.com/ 206.282.6500 On Thu, Aug 2, 2012 at 3:09 PM, Lazar, Alexey Vladimirovich alexey.la...@mnsu.edu wrote: Hello, everybody. In Evergreen documentation for versions 1.6 and 2.0 I can locate the section on Processing Action Triggers [1]. I can't seem to find the equivalent section in documentation for versions 2.1 and 2.2. I am working with 2.2. Is the information [1] still relevant? Or are action triggers processed differently these days? Any help is welcome, including in the form of a link to a piece of documentation or a list thread I may have overlooked when searching for information on this topic. Thanks! [1] http://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.html Alexey Lazar PALS Information System Developer and Integrator 507-389-2907 http://www.mnpals.org/
[OPEN-ILS-GENERAL] Action Triggers
We have been working to set up the action-triggers on our test server and are still having problems getting them to run. Last week, I did get it to email one notice and nothing more has come since then. I'm thinking the email service is working because I was able to use the OPAC function to email an account for a password reset. I have run the following under opensrf and no notices generated (and looking at the data we should have at least 5 notices generated). Our crontab looks like this # Action/Trigger entries # Runs all pending A/T events every half hour */30 * * * * opensrf cd /openils/bin /usr/bin/perl ./ action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --run-pending # Passive A/T event generation. # Note: push these back to 3am so they will run after the fine generator and spread out the start minute to reduce dogpiling 0 * * * * opensrf cd /openils/bin /usr/bin/perl ./ action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --process-hooks --granularity hourly 5 3 * * * opensrf cd /openils/bin /usr/bin/perl ./ action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --process-hooks --granularity daily 10 3 * * 1-5 opensrf cd /openils/bin /usr/bin/perl ./ action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --process-hooks --granularity weekdays 15 3 * * 0 opensrf cd /openils/bin /usr/bin/perl ./ action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --process-hooks --granularity weekly 20 3 1 * * opensrf cd /openils/bin /usr/bin/perl ./ action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --process-hooks --granularity monthly 25 3 1 1 * opensrf cd /openils/bin /usr/bin/perl ./ action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --process-hooks --granularity yearly -- Tim Spindler Manager of Library Applications tspind...@cwmars.org 508-755-3323 x20 IM: tjspindler (AOL, meebo, google wave) C/W MARS, Inc. 67 Millbrook St, Suite 201 Worcester, MA 01606 http://www.cwmars.org *P** Go Green - **Save a tree! Please don't print this e-mail unless it's really necessary.*
[OPEN-ILS-GENERAL] Action Triggers
We have been trying to get these to run but are getting nothing and I have a feeling we are missing something simple. First, Ben Shum had provided information about a month or two ago on what he was doing and we set this up but no notices are being generated. Yesterday, I manually ran the following commands logged in as opensrf and no error messages were generated but no notices sent out. ./action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --run-pending ./action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --process-hooks We have only the defaults installed for Trigger Even Definitions, Hooks, and Reactors. I have enabled 3 Day Courtesy Notice, 7 Day Overdue Email Notification, Hold Ready for Pickup Email Notification, Holds Pull List, among others and we have set up things so that a 7 day overdue email notification should be generated and maybe some other notices. We have one EDI order we are testing with Ingram that should have uploaded to Ingram's test site and nothing has happened (PO HTML, PO JEDI enabled and I have put the edi_pusher.pl and edi_fetcher.pl in the /openils/bin/ directory. We have not done anything on the server other than set up cronjobs to run. The following is what Ben originally posted __ Part 1 - Action/Trigger cron jobs... For our case, our cron entries looks more like this: # Nightly action/trigger passive hook event generator 0 3 * * * cd /openils/bin /usr/bin/perl ./action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --process-hooks # Run pending A/T events. 0,15,30,45 * * * * cd /openils/bin /usr/bin/perl ./ action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --run-pending While not necessary to follow this exact style (I think we're doing it differently than say the default crontab.example that ships with Evergreen), I think it does matter to use the --osrf-config option with the action_trigger_runner.pl script. We split up the --process-hooks and --run-pending options because we only planned to process passive events nightly vs. running the pending much more often (once every 15 minutes currently). Part 2 - EDI and Acq... We were just testing EDI yesterday (got great advice from Galen Charlton via IRC) and we were finally able to send .EPO files to Ingram's FTP site by day's end. It involved setting up theedi_pusher.pl script and running it after we had finished A/T processing. The edi_pusher.pl and edi_fetcher.pl scripts should be in the Open-ILS/src/support-scripts/ directory and we copied them to /openils/bin for easy access. It was also necessary to setup and start the edi_translator pieces. For that, you turn to the files in the directory Open-ILS/src/edi_translator. In that directory, there's an install script that will install the necessary prerequisites for something called webrick(?). The script says it was written for Debian Lenny, but we've tested it successfully with Ubuntu Lucid (our OS). We copied that whole directory to /openils/bin (though you could put it anywhere really), installed the prereqs with the install script, and then started up the program by calling the edi_webrick.bash script in that directory. Hopefully we can work out some sort of installation guide (if one doesn't already exist) and that can be added to the 2.0+ Documentation. We may contact you later about importing a selection list / order information from Ingram, though I'm unsure if our catalogers have already pieced that together or not. -- Ben --- -- Tim Spindler Manager of Library Applications tspind...@cwmars.org 508-755-3323 x20 IM: tjspindler (AOL, meebo, google wave) C/W MARS, Inc. 67 Millbrook St, Suite 201 Worcester, MA 01606 http://www.cwmars.org *P** Go Green - **Save a tree! Please don't print this e-mail unless it's really necessary.*
Re: [OPEN-ILS-GENERAL] Action Triggers
This is akin to do you have it plugged in? which is about how useful I can be on this issue but I'll ask just in case.have you set up your SMTP server to run (or whatever it is that actually sends out the notices?) On Wed, Jul 13, 2011 at 5:15 AM, Tim Spindler tspind...@cwmars.org wrote: We have been trying to get these to run but are getting nothing and I have a feeling we are missing something simple. First, Ben Shum had provided information about a month or two ago on what he was doing and we set this up but no notices are being generated. Yesterday, I manually ran the following commands logged in as opensrf and no error messages were generated but no notices sent out. ./action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --run-pending ./action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --process-hooks We have only the defaults installed for Trigger Even Definitions, Hooks, and Reactors. I have enabled 3 Day Courtesy Notice, 7 Day Overdue Email Notification, Hold Ready for Pickup Email Notification, Holds Pull List, among others and we have set up things so that a 7 day overdue email notification should be generated and maybe some other notices. We have one EDI order we are testing with Ingram that should have uploaded to Ingram's test site and nothing has happened (PO HTML, PO JEDI enabled and I have put the edi_pusher.pl and edi_fetcher.pl in the /openils/bin/ directory. We have not done anything on the server other than set up cronjobs to run. The following is what Ben originally posted __ Part 1 - Action/Trigger cron jobs... For our case, our cron entries looks more like this: # Nightly action/trigger passive hook event generator 0 3 * * * cd /openils/bin /usr/bin/perl ./action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --process-hooks # Run pending A/T events. 0,15,30,45 * * * * cd /openils/bin /usr/bin/perl ./ action_trigger_runner.pl --osrf-config /openils/conf/opensrf_core.xml --run-pending While not necessary to follow this exact style (I think we're doing it differently than say the default crontab.example that ships with Evergreen), I think it does matter to use the --osrf-config option with the action_trigger_runner.pl script. We split up the --process-hooks and --run-pending options because we only planned to process passive events nightly vs. running the pending much more often (once every 15 minutes currently). Part 2 - EDI and Acq... We were just testing EDI yesterday (got great advice from Galen Charlton via IRC) and we were finally able to send .EPO files to Ingram's FTP site by day's end. It involved setting up theedi_pusher.pl script and running it after we had finished A/T processing. The edi_pusher.pl and edi_fetcher.pl scripts should be in the Open-ILS/src/support-scripts/ directory and we copied them to /openils/bin for easy access. It was also necessary to setup and start the edi_translator pieces. For that, you turn to the files in the directory Open-ILS/src/edi_translator. In that directory, there's an install script that will install the necessary prerequisites for something called webrick(?). The script says it was written for Debian Lenny, but we've tested it successfully with Ubuntu Lucid (our OS). We copied that whole directory to /openils/bin (though you could put it anywhere really), installed the prereqs with the install script, and then started up the program by calling the edi_webrick.bash script in that directory. Hopefully we can work out some sort of installation guide (if one doesn't already exist) and that can be added to the 2.0+ Documentation. We may contact you later about importing a selection list / order information from Ingram, though I'm unsure if our catalogers have already pieced that together or not. -- Ben --- -- Tim Spindler Manager of Library Applications tspind...@cwmars.org 508-755-3323 x20 IM: tjspindler (AOL, meebo, google wave) C/W MARS, Inc. 67 Millbrook St, Suite 201 Worcester, MA 01606 http://www.cwmars.org *P** Go Green - **Save a tree! Please don't print this e-mail unless it's really necessary.*
[OPEN-ILS-GENERAL] Action/Triggers
I have been trying to get some notifications running to do some tests on stuff and nothing seems to be happening. We don't currently have this on a cron tab and I was just trying to run it manually on the command line */openils/bin/action_trigger_runner.pl --process-hooks --run-pending*. based on the documentation here ( http://docs.evergreen-ils.org/2.0/draft/html/ProcessingActionTriggers.html) I get no errors but no notifications run. We are also doing some testing of EDI with Ingram and the PO doesn't load to Ingram although we have successfully imported a selection list and order information from Ingram. We have not created any new actions/triggers and everything is on the default from the 2.1 beta install. The following are enabled: - 7 day overdue email notification (we have titles that should have generated this notification) - claim voucher - holds pull list - invoice - item recall email notice - line item worksheet - PO HTML - PO JEDI - and others -- Tim Spindler Manager of Library Applications tspind...@cwmars.org 508-755-3323 x20 IM: tjspindler (AOL, meebo, google wave) C/W MARS, Inc. 67 Millbrook St, Suite 201 Worcester, MA 01606 http://www.cwmars.org *P** Go Green - **Save a tree! Please don't print this e-mail unless it's really necessary.*