I have an agent that is part of a database that ceases to run after 1 week exactly. I need to restart the server for it to be picked up. The agent is a LotusScript agent that runs ever 10 minutes. Run on All documents in database. It picks up a file on the hard drive, in a folder with access to everyone to read/write. It reads and kills the file. It then writes to another file in the “Users\Administrator” folder. Things I’ve tried include:
-
Checking the script libraries so they are signed properly.
-
Database is allowing background agents.
-
Agent is signed with Admin id. Full rights.
-
Security level is set to “3. Allow restricted…”
-
Split agent up into multiples, running on different days, same effect.
-
Put agent into fresh db, same effect.
-
Put agent into db where agents always work fine, same effect.
Like I said, it runs for one week and even though I’ve tried everything to get it to be added back to the scheduled agents, it won’t. It gets bumped from the scheduled agents and only a server reboot will bring it back. I have other agents that do the same type of thing, run very frequently, but they don’t interact with the file system. I thought maybe it was having rights issues writing to the folders, but how can that rationalize it being kicked from the list of scheduled agents? And after one week exactly.
Any thoughts are much appreciated. Thank you for reading.