-SGL Flag—Run Replication Once
The -SGL flag configures the server to process its replication queues once before shutting down. You can schedule the replication with your operating system’s job scheduling system—cron under UNIX, at on Windows, submit on VMS.
Place the -SGL flag in the server’s runrepl.opt file.