Skip to content

Commit

Permalink
add: cekposting failed|success check
Browse files Browse the repository at this point in the history
  • Loading branch information
gojigeje committed Jun 17, 2014
1 parent 5d18410 commit 435c443
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tweet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -------------------------------------------------------------------------

# change directory to script's directory
# cd /root/script/twit
cd /root/script/twit

setup() {
hari=$(date +%u)
Expand Down Expand Up @@ -52,6 +52,7 @@ post_tweet() {
getJam
echo "[ttytter][$getjam] : $tweet_status"
echo "$tweet_status" | ttytter -status=-
cekposting
else
echo "ERROR_STATUS_KOSONG: $aksi"
fi
Expand Down

0 comments on commit 435c443

Please sign in to comment.