File: instance1.sh

package info (click to toggle)
libquartz-java 1%3A1.7.3-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,100 kB
  • sloc: java: 26,892; xml: 981; sh: 119; makefile: 7
file content (29 lines) | stat: -rwxr-xr-x 670 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

# Change this to your JDK installation root
#
#JAVA_HOME=/usr/java/j2sdk1.4.0_01

JRE=$JAVA_HOME/jre
JAVA=$JRE/bin/java

QUARTZ=../..

. ${QUARTZ}/examples/bin/buildcp.sh

#
# Set the path to your JDCB Driver jar file here
JDBC_CP=/home/user/lib/postgres.jar

QUARTZ_CP=$QUARTZ_CP:$JDBC_CP

# Uncomment the following line if you would like to set log4j 
# logging properties
#
#LOGGING_PROPS="-Dlog4j.configuration=log4j.properties"

# Set the name and location of the quartz.properties file
QUARTZ_PROPS="-Dorg.quartz.properties=instance1.properties"

$JAVA -classpath $QUARTZ_CP $QUARTZ_PROPS $LOGGING_PROPS org.quartz.examples.example13.ClusterExample $1