Address some remaining hardcoded install prefixes Ran a clean install of Evergreen on Ubuntu Precise and most things were more or less working using simple "./configure; make; make install" with the major exception of the TPAC. It turned out that there is a simple variable that can be tweaked in the Apache config; a better way to handle this might be to preprocess the source file at make time, but for now at least we set the variable. In addition, clean up two remaining scripts that have hardcoded paths. Signed-off-by: Dan Scott <dscott@laurentian.ca> Signed-off-by: Ben Shum <bshum@biblio.org>
LP 1169193 Bypass longoverdue w/ default A/T runner Avoid processing LONGOVERDUE circulations in the default action_trigger_runner.pl filter. When no custom filters are used, the script will provide it's own default filter for circulation-based hooks. This change ensure that when the default filter is in use, the script will not attempt to process longoverdue circulations, since they have already been processed (which is how they became longoverdue in the first place). Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
force granularity-only when any granularity is specified git-svn-id: svn://svn.open-ils.org/ILS/trunk@18349 dcc99617-32d9-48b4-a31d-7c20da2025e4
wait to run-pending if a specific granularity used git-svn-id: svn://svn.open-ils.org/ILS/trunk@18256 dcc99617-32d9-48b4-a31d-7c20da2025e4
support per-grunlarity parallelizing via flag and lock file git-svn-id: svn://svn.open-ils.org/ILS/trunk@18099 dcc99617-32d9-48b4-a31d-7c20da2025e4
rearrange while loop to prevent error: Can't 'last' outside a loop block git-svn-id: svn://svn.open-ils.org/ILS/trunk@16956 dcc99617-32d9-48b4-a31d-7c20da2025e4
added a number of info messages to the action/trigger runner and server code. the messages provide summary data about what event defs / hooks are being processed and when/if they complete or timeout. git-svn-id: svn://svn.open-ils.org/ILS/trunk@16677 dcc99617-32d9-48b4-a31d-7c20da2025e4
Minor whitespace/syntax changes, sifted out of the previous telephony commit. git-svn-id: svn://svn.open-ils.org/ILS/trunk@16514 dcc99617-32d9-48b4-a31d-7c20da2025e4
Foundations of Action/Triger-based telephony, by Joe Atzberger and Lebbeous Fogle-Weekley Just as described to the open-ils-dev mailing list on May 21, 2010, with a whitespace/non-semantic-changes patch to follow. git-svn-id: svn://svn.open-ils.org/ILS/trunk@16513 dcc99617-32d9-48b4-a31d-7c20da2025e4
provide a --max-sleep=<seconds> option for use in --process-hooks mode to wait on the lock file to go away, and default to 1 hour (3600) git-svn-id: svn://svn.open-ils.org/ILS/trunk@15378 dcc99617-32d9-48b4-a31d-7c20da2025e4
Patch from Joe Atzberger to verify custom filter file opened successfully git-svn-id: svn://svn.open-ils.org/ILS/trunk@15359 dcc99617-32d9-48b4-a31d-7c20da2025e4
removed oils_header.pl dependency from action_trigger_runner. update sample crontab to reflect git-svn-id: svn://svn.open-ils.org/ILS/trunk@15158 dcc99617-32d9-48b4-a31d-7c20da2025e4
Unlink the lock file as soon as possible if 1) we have not already looked at it and 2) it contains our pid. This is to allow multiple, concurrent runners where possible, after the find-events phase git-svn-id: svn://svn.open-ils.org/ILS/trunk@14863 dcc99617-32d9-48b4-a31d-7c20da2025e4
doh! thinko on param name git-svn-id: svn://svn.open-ils.org/ILS/trunk@14857 dcc99617-32d9-48b4-a31d-7c20da2025e4
up the timeout for batch event running to accomodate the initial wait for event retrieval and grouping git-svn-id: svn://svn.open-ils.org/ILS/trunk@14801 dcc99617-32d9-48b4-a31d-7c20da2025e4
Patch from Lebbeous Fogle-Weekley to add arbitrary event runtime grouping (granularity) to action-trigger events; also includes support for specifying granularity to action_trigger_runner.pl and the server-side batch events git-svn-id: svn://svn.open-ils.org/ILS/trunk@14790 dcc99617-32d9-48b4-a31d-7c20da2025e4
exit with help if the script is not told to process any hooks or run pending events git-svn-id: svn://svn.open-ils.org/ILS/trunk@14711 dcc99617-32d9-48b4-a31d-7c20da2025e4
added explicit --process-hooks flag to turn on hook event creation. This allows the script to run in --run-pending mode without trying to create hook events from default values git-svn-id: svn://svn.open-ils.org/ILS/trunk@14707 dcc99617-32d9-48b4-a31d-7c20da2025e4
repaired function name and JSON git-svn-id: svn://svn.open-ils.org/ILS/trunk@14695 dcc99617-32d9-48b4-a31d-7c20da2025e4
move the hook configuration out to a config file (action_trigger_filters.json.example); default to the list of hooks in that file if none are specified; use try/otherwise instead of eval/$@ git-svn-id: svn://svn.open-ils.org/ILS/trunk@14629 dcc99617-32d9-48b4-a31d-7c20da2025e4