Crontab script running from sh-3.2 (logged in as root) is:
* * * * * python /Users/tony/Documents/Python_Projects/Stock_Earnings_5.py #send an email every minute
Stock_Earnings_5
sends an email based on the logic.
Currently Stock_Earnings_5
works independently and sends out the email when manually running it from shell sh-3.2 (logged in as root).
crontab also works for "hello world" to terminal.
So in summary, crontab works for hello world program to terminal, and Stock_Earnings_5 works if called independently of crontab, but when crontab calls Stock_Earnings_5
it doesn't send email.