Random thoughts from an unusual company

Local Archive Scheduling Puzzler

Gabriella Davis  February 24 2010 10:56:35 AM
Last night I was presented with a puzzle - how can you tell if people have scheduled their local archives to run at a certain time?  Initially I thought it was going to be easy since the Archive scheduling appears on the Archive Settings dialog along with the other settings that are all stored with the archive profile document and visible via NotesPeek. Easy.  Sadly not, when I looked at the profile documents in my mail file using NotesPeek I couldn't see the actual schedule of the archive.

So I found myself a tame developer and got him to look at the code for archiving - some time and much swearing later it appears that the archiving functions in the mail file are undocumented and there's no way to find out where it's storing the schedule.

Finally I did some brainstorming with Susan and Marie and we discussed the idea that when you set scheduling for a server archive it's done via a program document on the server running "compact -a" - sure enough there's a hidden $Programs view in the local names.nsf and in there - a program document created for "compact -a" at a specific date and time.  

(image removed)

Since it's not stored anywhere in the mail file at all there is no way I could find the scheduling by examining any of the mail file elements from the server replicas but knowing it's in the local names.nsf I can get my tame developer to knock up some code to look for it.  Unfortunately it means running the code against 600 people just to find the 10 I'm concerned about.