is there a way to Quit domino and reboot the server as a script and batch file?
we want to have scheduled a reboot overnight.
is there a way to Quit domino and reboot the server as a script and batch file?
we want to have scheduled a reboot overnight.
You can schedule Domino Program document to restart server (nserver.exe -c "restart server", or nserver.exe -c "quit"):
https://help.hcl-software.com/domino/10.0.1/admin/admn_runningservertasks_t.html#ariaid-title6
Though it will not restart OS.
If you are running Domino on Windows, you can create batch file that will stop Domino Windows service and then restart OS.
If there is a Linux, then you need to stop Domino service (RC_Domino https://blog.nashcom.de/nashcomblog.nsf/dx/domino-start-script-update.htm?opendocument&comments#anc1 or any other solution) and then restart OS using shell script.
Hello Mubasher Ali,
Please check attached sample Windows batch files to stop and start Domino services in Windows environment.
Please update Domino program and Directory paths as per your environment.
Use windows task scheduler to run Batch files at scheduled timings.
For Linux please refer to link provided by Aleksandr above.
Once Domino services are stopped, you can write other script to restart OS and schedule to run after 5 minutes of Domino stop script execution.
Example : create a batch file with content as "shutdown -r" to restart OS.
Reference link: https://phoenixnap.com/kb/how-to-restart-windows-server-2016
Domino service start-stop scripts.zip
if you stop service it will not be like normal shutdown?
If you stop Domino service, it is like normal Domino shutdown only.
One of the Above given batch file is to stop Domino services.
Other Batch file is to start Domino service.
However to restart OS you need to use other batch file.
Note: If you set Domino service startup type as "Automatic" in services.msc, then you do not need to use Domino start up script. Domino service starts automatically as soon as OS is restarted.
Hello Mubashir,
Echoing what Aleksandr and Yalavarthy, you can also refer the below articles.
https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0039472
https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0024609
Regards
Aniket