This article demonstrates how you can develop background jobs that run outside the context of an XPages application in the Notes Client.
A Monitoring Job monitors and visualizes the progress of long running serverside JavaScript code, e.g. executed when a user clicks on a button in an XPage.
Learn how to execute JavaScript code during the startup phase of Lotus Notes