0

I am running mongodb on windows and I would like for it to start running when windows starts up.

How would I go about doing this?

Thanks

Kingamere
  • 9,496
  • 23
  • 71
  • 110

1 Answers1

1

Install it as a Windows service that will run automatically:

"C:\mongodb\bin\mongod.exe" --config "C:\mongodb\mongod.cfg" --install

Full list of steps here.

JohnnyHK
  • 305,182
  • 66
  • 621
  • 471