Skip to content

Commit

Permalink
update time point
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhtc1202 committed Mar 3, 2018
1 parent 5e1298d commit 305320e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ echo "Time:" $(date)

hour=$(date +%H)
StartDate=$(date -u -d "$(date +%H:%M:%S)" +"%s")
FinalDate_1=$(date -u -d "02:09:14" +"%s")
FinalDate_2=$(date -u -d "14:09:14" +"%s")
FinalDate_1=$(date -u -d "14:09:14" +"%s")
FinalDate_2=$(date -u -d "02:09:14" +"%s")
if [ "$hour" -gt 17 ]
then echo "Time to the next running turn of crawling process is $(date -u -d "0 $FinalDate_1 sec - $StartDate sec" +"%H:%M:%S")"
elif [ "$hour" -lt 5 ]
Expand Down

0 comments on commit 305320e

Please sign in to comment.