You have to login in order to post a reply to this topic.

4 replies [Last post]
nattur
User offline. Last seen 8 weeks 1 day ago. Offline
Joined: 03/03/2010
Posts: 19

I have around 30 jobs in WinAutomation.  Those jobs need to connect to differents database to update status and differents servers to copy files.  This morning, WinAutomation didn't work.  The status of several jobs showed "225 instances running".  The number of instances was variable.  I stopped WinAutomation by clicking "Stop all running jobs" and I restarted the server.  But WinAutomation didn't stop the jobs.  I had to stop all process of WinAutomation using Task manager.  Do you know what could be happened ?  And next time, what could I do to avoid that problem ?

Samantha
Samantha's picture
User offline. Last seen 1 day 22 hours ago. Offline
Joined: 04/23/2010
Posts: 1389
Re: Multiples instances

Hello Natur,

Was there an error in the logs or something? Everything that is happening on the machine is being recorded in Windows Logs, so you could advise that log file to see what happened (whether the service stopped with an error or something). It seems to me that for some reason, the WinAutomation service was down on the machine.

What version of .NET Framework are you running on the machine?

You could try dropping an email at the Support Dpt attaching the logs file to get help and get things sorted out.

:)
Samantha

__________________

Rome wasn't built in a day..

__________________

Rome wasn't built in a day..

nattur
User offline. Last seen 8 weeks 1 day ago. Offline
Joined: 03/03/2010
Posts: 19
Re: Multiples instances

I have .NET Framework 2.0.  There is some errors in logfile.  Someone restarted the server without turned off each WinAutomation jobs before.  Maybe this was the reason.

I have already noticed that sometime, WinAutomation works correctly except for one job that has multiple instances.  At this moment, I have no error in the logfile.

Samantha
Samantha's picture
User offline. Last seen 1 day 22 hours ago. Offline
Joined: 04/23/2010
Posts: 1389
Re: Multiples instances

If a job that is running is using information that is being used by another process at the same time, it is logical that you will have errors. Some files might not be found, as well as keystrokes being sent by more than one jobs at the same time might also confuse the machine.

It is advised that you make sure that when you are running any sub jobs, either choose the "Wait For Job to complete" option or set some other way that will not allow any other job to run while this job is (this only applies for jobs that have keystrokes and mouseclicks involved or image recognition)

:)
Samantha

__________________

Rome wasn't built in a day..

__________________

Rome wasn't built in a day..

nattur
User offline. Last seen 8 weeks 1 day ago. Offline
Joined: 03/03/2010
Posts: 19
Re: Multiples instances

Thansk for your help.