diff options
Diffstat (limited to 'bin/tweet')
-rwxr-xr-x | bin/tweet | 10 |
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 "$@" |