Monday, October 28, 2013

Log File not written during scheduled task execution in Python Script

I wrote a python script to perform a scheduled job. I was also logging few information in a simple text file. But for some reason, nothing was written in the log file.

After doing some research, I found that, when setting up the scheduled task, I must fill in the "Start In" folder location. Only when this value is set, the python script can write the log file correctly.

Hope this helps !

Happy Coding.

No comments:

Post a Comment

All Blogs so far ...