On 1/26/12 9:36 PM, David Busby wrote:
Bill,
You're running them with the action-trigger-runner.pl correct?
The beauty of 'circ.missing_pieces.letter.print', is that it happens
immediately, regardless whether action_trigger_runner.pl is being run.
In fact, the start_time happens even before the run_time. That's what
I'm trying to produce, and why I'm wondering if there's something
special here that I'm not understanding.
A 'circ.missing_pieces.letter.print' event.
id | 16522
target | 15060456
event_def | 34
add_time | 2012-01-25 11:03:44-05
run_time | 2012-01-25 11:08:44-05
start_time | 2012-01-25 11:03:45-05
update_time | 2012-01-25 11:03:45.745413-05
complete_time |
update_process | 27015
state | complete
template_output | 2358
error_output |
async_output |
user_data |
If
you up the logging to level 3 there will be spew about the events and
loads of other details - was very helpful for me when debugging some
A/T stuffs.
/openils/bin/action_trigger_runner.pl \
--debug-stdout \
--verbose \
--osrf-config=/openils/etc/opensrf_core.xml \
--run-pending \
--hooks=checkout.damaged
--
David Busby
Edoceo, Inc.
http://edoceo.com/
206.282.6500
On Thu, Jan 26, 2012 at 4:58 PM, Bill Ott<[email protected]> wrote:
I'm trying to create an action/trigger event, nearly identical to
'circ.missing_pieces.letter.print', in fact I've started by cloning that. I
have everything setup the same as that event_definition, but am using the
hook for 'checkout.damaged'. The event is created, but it's never
processed.
For the life of me, I can't figure out what's different. Is there anything
special about 'circ.missing_pieces.letter.print', that I'm overlooking?