Author Topic: Help : Scheduled agent not running  (Read 273 times)

LAD

  • Full Member
  • *
  • Posts: 182
  • Karma: +1/-0
    • View Profile
Help : Scheduled agent not running
« on: November 27, 2008, 10:06:58 AM »
I have a scheduled agent which is supposed to run only on Saturdays and Sundays. However, it is not running at all. Here is the code I use to determine the day:

Sub Initialize
Dim dateTime As New NotesDateTime(Today)
If Weekday(dateTime.DateOnly) <> 1 Or Weekday(dateTime.DateOnly) <> 7 Then
Exit Sub
End If

In the agent schedule, I don\'t have the "Don\'t run on Weekends" checked. I do have checked the option to run every 30 minutes all day. The target is set to run on all new and modified documents. I know there were both new and modified documents.


Any ideas why the agent may not be running?

Thanks,

 

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages.