root/branches/douglm/deployment/scheduler/shellscr/resources/bwrun.sh

Revision 2310 (checked in by douglm, 4 years ago)

Redo in/outbox scheduler as a listener on a JMS queue

Create a new deployable module for it.

Change startup to start each separate module as well as the 'infrastructure' components.

Line 
1 #!/bin/sh
2
3 # Run the bedework system event scheduler task
4
5 # JAVA_HOME needs to be defined
6
7 cp=.:./classes:./resources
8
9 for i in lib/*
10   do
11     cp=$cp:$i
12 done
13
14 # Create a a temp dir
15 TEMPDIR="./temp"
16 mkdir $TEMPDIR
17
18 RUNCMD="$JAVA_HOME/bin/java -Djava.io.tmpdir="$TEMPDIR" -cp $cp org.bedework.scheduler.Scheduler"
19
20 APPNAME=iosched
21
22 case "$1" in
23   start)
24     echo $RUNCMD -appname $APPNAME $2 $3 $4 $5 $6 $7 $8 $9
25     $RUNCMD -appname $APPNAME $2 $3 $4 $5 $6 $7 $8 $9
26     ;;
27   *)
28     echo $" "
29     echo $"Usage: "
30     echo $"  $0 start [(-ndebug | -debug)] "
31     echo $"     Start logging the system events"
32     echo $" "
33 esac
34
Note: See TracBrowser for help on using the browser.