From a4216f9646aeea73c1454d22c0ba856ee3e82edd Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 19 Mar 2015 18:59:04 -0400 Subject: initial commit --- bin/tweet | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/tweet (limited to 'bin/tweet') diff --git a/bin/tweet b/bin/tweet new file mode 100755 index 0000000..5d38cf6 --- /dev/null +++ b/bin/tweet @@ -0,0 +1,10 @@ +#!/bin/sh +export JAVA_HOME=/usr/local/frc/JRE + +for file in /home/lvuser/tweeterbot/lib/*.jar; do + CLASSPATH="$CLASSPATH:$file" +done +export CLASSPATH + +cd /home/lvuser/tweeterbot/etc +"$JAVA_HOME/bin/java" -Xms30m -Xmx30m -cp "$CLASSPATH" twitter4j.examples.tweets.UpdateStatus "$@" -- cgit v1.2.3-54-g00ecf