My agent runs from the UI, but not as a scheduled agent

I have seen the Troubleshooting agents but I don’t find problem.Agent run never so I don’t read the log.

If I run the agent manually there aren’t problem, the agent run correctly.

My agent (Lotus script) is:

Sub Initialize

Dim session As New NotesSession

Dim db As NotesDatabase

Dim view As NotesView

Dim doc As NotesDocument

Dim createDate As Variant

Dim profileDoc As NotesDocument

Dim rtitem As NotesRichTextItem

Dim mail As NotesDocument



Set db = session.CurrentDatabase

Set view = db.GetView( "absence_date" )

Set doc = view.GetFirstDocument

Set ProfileDoc = db.GETPROFILEDOCUMENT("Setup Profile")



Set mail = New NotesDocument(db)

mail.Form="Memo"

mail.subject = db.Title







While Not (doc Is Nothing)

	.......

This is my “agent test”:

The following will occur when this agent is run:

‘CN=Sylvain Nambride/O=AISA’ has unrestricted rights to run LotusScript/Java agents on ‘CN=BOPP/O=AISA’.

Allow restricted operations flag is selected. Restriction operations will be allowed.

The agent will run on behalf ‘CN=Sylvain Nambride/O=AISA’

Agent scheduled to run on ‘CN=BOPP/O=AISA’.

If this agent is run from the web browser on server ‘CN=BOPP/O=AISA’ it will run as web user

Started running agent ‘verifEnvoi’ on 18.04.2005 14:23:23

Running on all documents in database: 17 total

Found 17 document(s) that match search criteria

Testing: Ran LotusScript code

Done running agent ‘verifEnvoi’ on 18.04.2005 14:23:23

Subject: RE: My agent runs from the UI, but not as a scheduled agent

I don’t understand what your question is. The log shows the agent ran without any errors. What is it doing that you don’t like?

If you just say “it doesn’t work” I’m not even going to answer.

Subject: RE: My agent runs from the UI, but not as a scheduled agent

The agent not run with schedule.

Subject: RE: My agent runs from the UI, but not as a scheduled agent

It’s OKI’ve find my problem.

It’s was the name of the base who was xxx.ntf au lieu de xxx.nsf

Subject: RE: My agent runs from the UI, but not as a scheduled agent

Hi Sylvain, I have the same problem with you.May I know how you solved the problem?

Thanks & regards.

Subject: RE: My agent runs from the UI, but not as a scheduled agent

Hi Sylvain, I’m have the same problem with you.May I know, how do you solve this problem?

Tks.