diff options
Diffstat (limited to 'remind.sh')
-rw-r--r-- | remind.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/remind.sh b/remind.sh deleted file mode 100644 index 4d478f0..0000000 --- a/remind.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -e - -# to echo from stdin -#stdin=$(cat) - -# if [ -z $stdin ] ; then -# echo "No stdin set" -# fi - -# echo $stdin - -# DESCRIPTION=$1 -# echo $DESCRIPTION - -if [[ "$#" < 3 ]] ; then - echo "You need to give me more parameters" -fi - -PARAMS=$@ -echo $@ - -if [[ -z "${TW_HOOK_REMIND_REMOTE_HOST}" ]] ; then - echo "There is not TW_HOOK_REMIND_REMOTE_HOST variable set." - exit 1; -else - echo "TW_HOOK_REMIND_REMOTE_HOST set" -fi - -ssh $TW_HOOK_REMIND_REMOTE_HOST ' -cat ~/.reminders/work.rem -' |