Forums

Scheduled Task Cannot find Tables in .DB database

The error message I get is:

sqlite3.OperationalError: no such table: XXX

Any reason why this fails when I schedule the task to run? It works fine when I manually run it through the console.

Edit: Is it because it's not looking into the folder that the script is running from? Is it running from the root folder? How do I get it to look in the same folder that the script is in?

python3.5

Thanks

Hi there, there's some tips on using absolute paths here: https://help.pythonanywhere.com/pages/NoSuchFileOrDirectory/