I am setting a cron from bash script

I want to check if file path is set in CRON

I checked this code to create cron but this code does not help with random time

```
(crontab -l; echo "${MIN} ${HOUR} * * * /temp/filepath") | awk '!x[$0]++' | crontab -

```

Note: ${MIN} ${HOUR} are random values

This creates multiple entry for changed variable values

I want single entry created based on file path `/temp/filepath` if not there