First thing I did was:

crontab -e

Then I added this line:

*/1 * * * * /home/user/Desktop/test.py

The script is a simple script that should just create a new file every minute (I'm just playing around with crontab at the moment) but nothing happens. The file is executable and I did that with

chmod +x test.py

The path is also correct, I've checked with both realpath and pwd.

Any ideas? :)

0 Answers