csv - Python Script not creating file when run through Task Scheduler -
link python code running through task scheduler
image link job detail on scheduler
when running through job scheduler, python script not creating file in script directory (scraped data in csv files). tf-idf working perfect can't find files.
it related environment. user running as? may try putting in few lines see thinks running.
import os # print current working directory print "current working dir : %s" % os.getcwd()
or go 1 step further , change dir want before processing begins.
# first go "/var/www/html" directory os.chdir("/var/www/html" )
Comments
Post a Comment