Cron Jobbin' A Python Script: Stops Halfway Through
I'm trying to cronjob my python script. I set it up through cPanel and my python script generates an html file like it's supposed to, so I know the command it correct (just 'python
Solution 1:
Last line in your for loop has syntax error :
f.write( "\t</tr>"
You may not have write permissions on your production server . Try this once.
f = open('/tmp/celly.html','w')
if this works, then its a write permission problem.
Check permissions of your
celly.html
file in current folder. It should be writable.
Post a Comment for "Cron Jobbin' A Python Script: Stops Halfway Through"