I have the following entry in crontab -e, which is supposed to run a python script every day at 11 am and dump the output to log.txt:
0 11 * * * /usr/bin/python3 /var/www/folder/python/script.py > /var/www/folder/python/logs/log.txt
The log.txt file is being consistently created, but nothing is being written to it. As far as I can tell, the python script is not being run at all despite working correctly when run from the terminal directly.
Is there something wrong with my cron syntax or is it something else I could be missing?