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
  • 8,454
  • 21
  • 63
  • 100

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
  • 290,447
  • 61
  • 595
  • 453