I'm running Debian 9. I log in as root and do
crontab -e and add the following lines:
0 */2 * * * python /home/Folder1/Script.py 1 */2 * * * python /home/Folder2/Script.py 2 */2 * * * python /home/Folder3/Script.py 3 */2 * * * python /home/Folder4/Script.py
The script's don't run. I've also tried adding
root before python to specify the user running the script. I believe this crontab is located in
/var/spool/cron/crontabs/root but I'm not sure if that's the 'main' location. No errors or messages relating to the cron running are reported in
/var/log/syslog. Nothing is reported in my postfix local mail. I've tried permissions 644 and 744 for the Python scripts.
This cron works when running on a user's crontab, but not root. I've tried this on a personal PC (amd64 Debian 9) and on a VPS (VPS Dime amd64 Debian 9).