[OPEN-ILS-GENERAL] Action Triggers
Lori Bowen Ayre
lori.ayre at galecia.com
Wed Jul 13 09:42:48 EDT 2011
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 <tspindler at 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
>
> tspindler at 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.*
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20110713/fdf2f4ab/attachment-0001.htm>
More information about the Open-ils-general
mailing list