I have a log file for cron jobs with entries using the format of

```
Mar  8 17:30:01 hostname CROND[PROC_#]: (user) CMD (/path/to/job/)

```

I want to be able to periodically checks the logs to see if a specific CRON job ( that runs hoursly) ran. Finding the logs I want have been easy via grep.

```
grep name_of_job logfile

```

But I'm unsure of how to accurately grab only the logs from the **past hour** to see if any cron jobs have ran.

I tried using the **awk** command to grab the last hour [based on this post](https://stackoverflow.com/a/7714878/5641538) but I've had issues with **awk** because my datestamp is separated into multiple fields.