We are doing an upgrade from R5 - R6.5. Users have the client and also their mail file is on the new R6.5 server. Now we want them to replicate their mail locally. I sent the users some lotusscript to create a new local replica and then the script looks for a specific location document and modifies the mail and replication tabs in the location documents. The settings are identical to what I have which I set manually. My replication works fine but users who are pushing the button do not seem to be replicating on the defined time frame I have set in the lotusscript (every 15 minutes). When I check their location document, everything looks great but it still does not replicate every 15 minutes (yes I have the 15 as a number).
Any thoughts why this would happen. Here is some code I use after I have grabbed the location document:
ReplicateNewDatabase db, LocalMailPath, newserver
Call workspace.AddDatabase( “” , LocalMailPath)
If OfficeLocationFound=1 Then
OfficeDoc.MailType= “1” ’ change to local
OfficeDoc.MailAddressing=“2” ’ Change addressing to Local and Server
OfficeDoc.MailThreshold=“1” ’ Transfer mail if you have more than one pending for sending
OfficeDoc.WebRetriever=“2” ’ force users to use IE for internet
OfficeDoc.Interval=15
OfficeDoc.ReplicationEnabled= “1” ’ Enable Replication
OfficeDoc.ReplicateAtStart= “1” 'Replicate when notes starts is on
OfficeDoc.PromptAtStart= “0” ’ Prompt user before replication starts
OfficeDoc.Enabled=“1” 'Define replication interval. Leave default to replicate every hour
OfficeDoc.ReplicateAtEnd=“1” ’ Prompt to replicate when notes shuts down
OfficeDoc.ReplicateOutboxAtEnd=“1” 'based on the above, only repliate if something is in the outbox
OfficeDoc.ReplicateToBeSentAtEnd=“1” 'based on the above, only repliate if something is in the Sent folder
success = OfficeDoc.ComputeWithForm( False, False )
Call OfficeDoc.save (True,True)
Sub ReplicateNewDatabase(db As notesdatabase, dbname As String, newserver As String)
Dim replicaDatabase As notesdatabase
Print “Verifying replica of " & Cstr(dbname) & " Please wait …”
Set replicaDatabase=New notesdatabase(“”,Cstr(dbname))
Call replicaDatabase.replicate(newserver)
End Sub