1

Python script does not work under crontab

view story
linux-howto

http://stackoverflow.com – I have a very basic python script to run through crontab for every minutes. The script has execute permissions with chmod a+x job.py. job.py #!/usr/bin/env python filed = open('test.txt','a') filed.write("this is a test"+'\n') filed.close() Crontab * * * * * /home/john/Desktop/job.py It should work, but i have not been able to see the results that should be a test.txt with the some texts. So, what could be the problem ? (HowTos)