python subprocess not finding command in cron.

I had a script that when I run as my user – it could find all commands.  This was in a Fedora environment. The solution was to wrap it in shell like this   [jon2allen@jons-bad-ass-fedora-server-37 python]$ cat run_news.sh #!/bin/bash source /home/jon2allen/.bashrc python3 /home/jon2allen/python/news1_test.py sourcing the .bashrc The command has several subprocess shell.  before I sourced .bashrc – yt-dlp could not […]