So, the error seems to be for this line, where "bot1" can't be found:
reddit = praw.Reddit('bot1')
In my praw.ini file, I have included:
[bot1]
client_id=...
client_secret=...
password=...
username=UCI-Help-Bot
user_agent=UCI-Help-Bot 0.1
Running on local machine and through bash console works, but not through the scheduled tasks.
For importing gspread in spreadsheet.py, I have:
import sys
sys.path.append('/home/jerrylshen/.local/lib/python3.6/site-packages/')
import gspread
But praw.ini is in the same folder as the file that imports PRAW (reply_post.py)
Thanks