How can I find out my replication schedule in Script

I want to write a script agent that finds out the current replication interval for the database it is running in. But so far, I haven’t found anything, neither Script not Java, that would allow me to simply ask for it.

The only thing remotely connected to this interval is the NewMailInterval notes.ini setting, but since I am able to set that interval independently from my replication interval, it is not really reliable.

However, I need to programmatically find out the time delay that may exist between setting an item in a document in my local replica and that item appearing on the server replica.

Any ideas?

Thanks and regards,

Matt.

Subject: How can I find out my replication schedule in Script

do you want to know the replication interval of your local Notes client? If so this is in the location document. But if you want to know when the last time was that the local replica replicated you would need to get the replication history via the C API, sort it by date and then you can grab the most recent entry. If you search this forum you can find the code to get the replication history.