Hey guys,
Hoping i could get some help with this. I am trying to use a scheduled task to run the UploadFromDB.bat file on the Reports Tool. However, when i try to run it, it wont even show the cmd prompt showing up and times out after the hour i set it to.
If i run the batch file manually, all works fine.
I have tried to multiple ways to get this to work
Set Add Arguments:
UploadFromDB.bat Email Password
UploadFromDB.bat Email -A authtoekn
<Blank>
Start In:
<Blank>
D:
D:/ZohoReports/UploadTool/Bin
I even create another Bat file that calls the uploads BAT. Tested to be working when ran by hand. Doesnt work through task scheduler. Then i added the -A and email to end of that BAT file. Again works fine by hand, but not when run through schedulers.
Now if i set the Task to "Run only when user is logged on" It will run just fine. of course i need it to be able to run at night, when no one is logged in.
I have tried multiple Admin level credentials on the task and it still does not work.
Has anyone experienced this and/or found a work around for this?