summaryrefslogtreecommitdiff
path: root/bin/tweet
blob: 5d38cf6a994b100e79c84c190cc633e52d301eac (plain)
1
2
3
4
5
6
7
8
9
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 "$@"