diff --git a/hash.sh b/hash.sh index dc91566..2d533d9 100644 --- a/hash.sh +++ b/hash.sh @@ -19,15 +19,15 @@ background_daemon() { echo while true; do echo "Current Time: `date`" - if [[ `date | cut -d " " -f4` == *"06:00"* ]]; then + if [[ `date | cut -d " " -f4` == *"06:00:"* ]]; then echo "Checking for new blocks.......";echo getTags fi - if [[ `date | cut -d " " -f4` == *"12:00"* ]]; then + if [[ `date | cut -d " " -f4` == *"12:00:"* ]]; then echo "Checking for new blocks.......";echo getTags fi - if [[ `date | cut -d " " -f4` == *"18:00"* ]]; then + if [[ `date | cut -d " " -f4` == *"18:00:"* ]]; then echo "Checking for new blocks.......";echo getTags fi