Running script as a Cronjob

I am trying to run script as a cron job but I get the error saying:

line53: shelley: command not found

edited the script a little and realized, the command: cardano-cli shelley query tip --mainnet does not execute and can not be found. I dug into the crontab and realized, it’s running my the script in a restricted environment hence why cardano-cli commands can not be executed. But my question is, how do I provide a suitable path for cardano-cli commands to run in cron?

This article here under section: Cron runs your command in a restricted environment helped tremendously.

Attached is a screenshot of the error from crontab running script.
Screen Shot 2020-10-18 at 10.29.46 AM