- Create a new file called NuxeoRestart.bat e.g. C:\NuxeoRestart.bat
- Open the it for Edit with your favorite Editor e.g. Notepad or Notepad++
Add below lines in that file and save the file
net stop "Nuxeo CB" timeout /T 10 net stop "Nuxeo DM" timeout /T 60 net start "Nuxeo DM" timeout /T 60 net start "Nuxeo CB"
- Open Control Panel–> Administrative Tools–> Task Scheduler . Right Click on Task Scheduler Library and create new basic task with desired schedule to run C:\NuxeoRestart.bat as shown below.
- Set two options in General Tab once the properties of the task opens up as mentioned below screenshot. Click OK to save the Task.
- It will prompt for credentials. give proper credentials with admin privilege and save it.
.