I have a python script that I would like to run through cron every minute
* * * * * /usr/bin/python3 /home/analytics/Documents/devDeliverables/attendanceReadTsv/check_raw.py
when I run this using a non-root terminal, it runs alright. It raises an access denied error but that's still fine.
when I run this using a root terminal, it executes all the way through.
I'm checking /var/log/cron and it does not show any errors whatsoever. Also with /var/log/messages, I don't see any errors with the python call.
What the python script does is it converts tsv to xlsx, and it deletes the raw files. But it does not delete the file.
/etc/
, a user name should be right after* * * * *
, e.g.: * * * * * root /usr/bin/python3 /home/analytics/Documents/devDe...