compare time using date command
- by Andrei
Say I want a certain block of bash script execute only if it is between 8 am (8:00) and 5 pm (17:00), and do nothing otherwise. The script is running continuously
So far I am using date command.
How to use it compare it current time within the range?
Thanks