C
C
ChaykaStar2020-12-06 20:35:07
Python
ChaykaStar, 2020-12-06 20:35:07

What are the access levels in the Windows Scheduler?

I installed a bot with a SQLite database on Windows Server 2012 for my customer and ran into a problem that I didn’t expect at all. After starting the bot through the task scheduler, the first time it accesses the database, it issues a trace, saying that there is no users table in the file, while opening it manually everything works perfectly. I set all files and executables to open on behalf of the admin, tested all the checkboxes with access in the task scheduler - the problem does not disappear. Who can faced similar? I'm already desperate to find a solution

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem @Jump, 2020-12-07
curated by the

Most likely, either the file is not found - if the path is relative, or there are simply no rights to open the file.
Check if the user from which you run the script has permissions to the file, and if the path is spelled correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question