I am creating one unix script to check if logs are generated for one of our job. logs are getting save in the file with the timestamp like 

```
2017 Apr 11 13:09:54:384 - Required information will be present here.
2017 Apr 11 13:17:31:578 - Required information will be present here.

```

we are stuck on the seach condition which will check if logs are present for the previous hour.

How I can write this if statement which will check this?