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.*

Reply via email to