Error executing a query in sqlite3 + crontab

0

I have a script made in python3 that makes scraping a web page and saves the info in a sqlite DB. To all this I have it mounted in a VPS. The problem is when I create a crontab so that the script runs every so often, when it runs and arrives at the part of having to write to the DB I get the following error "sqlite3.OperationalError: no such table 'table_name'". If I try to execute it manually the script works perfectly. What could it be that is failing?

    
asked by Mauricio Spesot 16.03.2018 в 04:51
source

0 answers