Cron job cannot find ffprobe/avprobeor ffmpeg/avconv even though its installed I have a cronjob setup to run &quot;/Users/admin/Scripts/youtubedl.sh&quot;
Script:
cd &quot;/Users/admin/Music/youtubedl-music&quot;
/usr/local/bin/youtube-dl -o &quot;%(title)s.%(ext)s&quot; --download-archive .mydownloads -i -f bestaudio --extract-audio --audio-format mp3 https://youtube.page/here

Cron fails saying &quot;ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.&quot;
If I run it manually everything executes correctly, somehow its unable to find ffmpeg/avconv when running via cron. How can I correct this?
Specify the absolute path to the ffmpeg/avconv binary with the --ffmpeg-location option:

--ffmpeg-location PATH
Location of the ffmpeg/avconv binary; either the path to the binary or its containing directory.