utaylor
(Utah Taylor)
June 16, 2017, 11:42am
1
Hello All,
Every time windows updates occur and our servers are restarted, Epicor stops processing print jobs. The servers restart at 3AM and we were wondering if anyone has a script we can run to restart the task agent automatically so we do not have to wake up to do it. Does anyone have a script to restart the task agent?
Thanks in advance for any help.
Respectfully,
Utah Taylor
jkane
(John Kane)
June 16, 2017, 11:52am
2
I would set the task agent to a delayed start. That should allow it to restart by itself after a restart.
josecgomez
(Jose C Gomez)
June 16, 2017, 12:30pm
3
Depending on your version of Epicor
NET STOP EpicorICETaskAgent3.1.500.0
NET START EpicorICETaskAgent3.1.500.0
NET STOP EpicorICETaskAgent3.1.400.0
NET START EpicorICETaskAgent3.1.400.0
etc…
4 Likes
carlosqt
(Carlos Quintanilla)
June 16, 2017, 12:35pm
4
Task Agent is a windows server. You can create a windows task to run one of the following 2 commands in a .bat file maybe.
Option 1: service control command
USAGE:
sc servername [command] [service name] option1 option2…
EXAMPLE:
sc \servername start EpicorICETaskAgent3.1.500.0
Option 2. net command
USAGE:
NET START [service]
EXAMPLE:
NET START EpicorICETaskAgent3.1.500.0
Or set the service to Start Automatic, or Automatic Delayed Start, as mentioned by @jkane
Carlos
PSE
utaylor
(Utah Taylor)
June 19, 2017, 11:53am
5
Thank you both, we will try these out!