I have a Python v3.6 script which reads from database which has some data with Chinese characters. This script gives error when I schedule it to run from Mac Cron Job; however executes fine when run from my Mac's Terminal.
Any idea, if we need to enable some language pack or something when we run script from Cron job?
Crontab command:
#*/2 * * * * /usr/local/bin/python3 /Users/admin/Documents/Scripts/wht/gbi.py >> test.txt