1, go to the official website to download NSSM http://nssm.cc/download
2, into the project directory
3, enter cmd to open in the current directory to create the command nssm install projectname_beat
There will be a screen
Configure your log in
Click Save
4, in the same way the need to create a worker, you can also use the command to start the project path + manage.py celery worker -l info, need I / O in
Add log path
5, open the Task Manager, opening the service, find the corresponding service click Start to create based on the name, you can also enter directly after you create the command line to create a name when nssm start start
6, nssm command line
1, change the name when the edit create nssm
2, delete nssm remove name when created
When the name of 3, stop nssm stop creation
4, when the name continues to create nssm continue