Follow

ID3 - eAgent Missed Scheduled Tasks Overview & Sample:

Notifies when eAgent Task is not running

Jump to Overview | Samples | Variables | Alert Functionality | Best Practices & Tips |  Related Alerts

Click to Subscribe 

Overview

Overview

This alert checks to see if there are any past due tasks scheduled in eAgent as this usually indicates eAgent is not currently running. Provides Status Details from eAgent task to help determine why not running (excludes Test Fax and eInfo Requested Invoices from consideration).

If you are not using eAgent we feel you should be and we are happy to help configure. 

Run Schedule: Hourly

Type of Output: Email

 

*  *  *

Sample

Sample

ID3Sample.PNG

 

*  *  *

Variables

Variables

ID3variables.PNG

VariableW: Enter minutes eAgent task should be past due before notifying (excludes tasks in running process)

 

 

*  *  *

Alert Functionality

Alert Functionality

1. Alert doesn't know if eAgent is actually running or not, it just tells about any past due tasks and how many minutes past due they are. 

2. Alert is set to NOT consider eAgent tasks of Test Fax and eInfo Requested Invoices.

3. Alert shows UserID (per eAuto Employee Record) set for task 

ID3AssignedUser.PNG

ID3EAUser.PNG

 

*  *  *

 

Best Practices & Tips

Best Practices & Tips

1. eAgent accessed in eAuto via Tools / eAgent:

ID3inEA.PNG 

  

Suggested troubleshooting

Suggested troubleshooting for continuing eAgent tasks:

1. Restart the 'task engine' your eAgent tasks are set with.
2. Restart your production server.
3. Look for conflicts like production backups conflicting with the offending time slots.
4. Try deleting and re-creating the task in eAgent.
5. Best to set user on eAgent task as Admin as often eAgent task will fail due to user not having sufficient security rights to perform task.

 

ID3TaskUser.PNG

 

5. Task won't run on schedule, no errors, runs fine when triggered manually:

*** Before starting be sure to verify you have the full access password for E-Automate. Failure to verify this can result in breaking all addon programs (i.e. Remote Tech, PIP, Einfo, etc..) and they will need to be reinstalled. The password for this account can verified by opening up SQL Management Studio and logging in using Coexecutive as the username. If you can login, then proceed with the steps outlined below. ***

  1. Be sure everyone is logged out of E-Automate.
  2. Stop the DGServer Service on the e-automate server and any other task engines.
  3. Delete Settings.xml file located under C:\Program Files (x86)\ECi\e-automate\web\res\public
  4. Start the DGServer Service, this should populate a new Settings.xml file
  5. Launch E-Admin
  6. Click Ok
  7. Enter Full Access and Read Only Passwords when prompted.
  8. E-Admin should then open up successfully.

Once this is done, allow scheduled tasks to run.

6. One of our clients provided these scripts (TO BE USED BY YOUR IT DEPT ONLY, please) to help re-set eAgent and/or fix issues:

Fix for time outs: 

IF NOT EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[dbo].[MTMeterReadings]') AND name = N'IX_MTMeterReadings_MeterReadingGroupID') CREATE NONCLUSTERED INDEX [IX_MTMeterReadings_MeterReadingGroupID] ON [dbo].[MTMeterReadings] ([MeterReadingGroupID],[MeterID])

GO

IF NOT EXISTS (SELECT * FROM sys.indexes WHERE object_id = OBJECT_ID(N'[dbo].[MTMeterReadings]') AND name = N'IX_MTMeterReadings_MeterID') CREATE NONCLUSTERED INDEX [IX_MTMeterReadings_MeterID] ON [dbo].[MTMeterReadings] ([MeterID],[IsValid],[Actual]) INCLUDE ([MeterReadingGroupID])

GO

Resets the all to idle:

update VWTasks

set TaskStatus = 'IDLE'

 

Typical Errors / Troubleshooting:

Error: service timed out

ID3Error.PNG

Solution: Indicates the server was too busy to run the task. Try changing the time it runs, perhaps after hours when server less busy.

Error: Insufficient User Rights

Solution: User set on eAgent task doesn't eAuto security rights to perform task. Change user to Admin

ID3Admin.PNG

*  *  *

Related Alerts

Related Alerts

None

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk