How do I properly configure a scheduled task to run when not logged in? The problem happens even if I am logged in, the Windows Task Scheduler that just checking the Run whether user is logged on or not causes the problem no matter whether I am logged in or not. AlwaysLearning, above was just an example and the code was not mine. If the task doesn’t work properly even when the user is logged in, it doesn’t seem to be a problem with the definition of running whether the user is logged in or not. I have already tried the loop in the link you kindly shared. As some have suggested I have tried to run. The creation of the new connection certainly helped but now it runs a bit more before it stops. Yes, I do have 'run whether user is logged in or not' checked and I do have the correct credentials.Is it possible to edit the initial BAT file to output a simple test line to a text document just to see if the command is even triggered?.If you call the BAT manually from CMD, does it run correctly?.exe as a service by using the keyword 'start', but this time Jenkins does not freeze but the executable does not run. What other settings have you enabled? (What triggers and what should Windows Task scheduler do if trigger was matched but a previous run isn’t yet finished) etc. In this case, the task scheduler launches the script but nothing happens. Under which user credentials are you running your task? This user needs access to all resources such as network folder.It does not launch the target workbook and the task fails immediately (or within one minute of launch) with 'The last run of this task was terminated by the user.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |