summaryrefslogtreecommitdiff
path: root/bin/tweet
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-03-19 18:59:04 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-03-19 18:59:04 -0400
commita4216f9646aeea73c1454d22c0ba856ee3e82edd (patch)
tree0f83215d6f49283c2cffd605db0b3aa1cc5504ac /bin/tweet
initial commit
Diffstat (limited to 'bin/tweet')
-rwxr-xr-xbin/tweet10
1 files changed, 10 insertions, 0 deletions
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 "$@"