[OPEN-ILS-GENERAL] ***SPAM*** Re: Action/Triggers

Ben Shum bshum at biblio.org
Wed Jun 22 10:40:57 EDT 2011


Hi Tim,

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 the edi_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

On 06/22/2011 08:15 AM, Tim Spindler wrote:
> 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
> <http://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
>
> tspindler at cwmars.org <mailto: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 <http://www.cwmars.org/>
>
>  
>
> *P**   Go Green - **Save a tree! Please don't print this e-mail unless
> it's really necessary.*
>
>  
>
>

-- 
Benjamin Shum
Open Source Software Coordinator
Bibliomation, Inc.
32 Crest Road
Middlebury, CT 06762
203-577-4070, ext. 113

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20110622/58fa3cc5/attachment.htm>


More information about the Open-ils-general mailing list