creating a file using task scheduler while the windows user lock the system

232 Views Asked by At

I have written a bat file and writing the console output to a text file.The bat file is scheduled using the task scheduler to run at prescribed time. The bat file is executing and creating a file while the system user is not locked (I mean windows+L) but when the system is locked batch file is running but the text file is not created.Facing the similar issue with the python code also(writing the output dataframe to an excel file.Is there any suggestion on this . Thanks in advance.

0

There are 0 best solutions below