I have 2 windows scheduler tasks configured to run some exe on the remote machine. Both scheduled tasks triggers at exact the same time (say, at 06:00 AM) and they both do the same thing: they remotely execute my exe via paexec on the same remote machine. Sometimes that works OK as it should, but sometimes it fails on both task instances, with paexec code error -6. The command used to run both of these two task, configured in windows scheduler, is:
I'm wondering why this error sometimes occur (more often than not) and, of course, how to get this to work correctly. Any ideas?
(Remark: the error never shows up when those tasks are configured to run at different times!) asked 26 Aug '16, 03:58 xeno |
Hi Xeno, Yes you are running into the following issue... The error codes are listed on the PAExec Page. I don't think that what you are going to be able to do this because you are trying to create two identical processes at the same time and the OS isn't going to let you do that. Thanks Please make sure to mark your questions accepted when you have your answer by clicking the gray check mark to the left of the answer. answered 29 Aug '16, 17:25 Quinn ♦♦ |