javascript - How to concurrently run mongo scripts -


how can run

mongo mydbname script1.js

mongo mydbname script2.js

concurrently?

is there way fork execution? (i searching --fork option in mongod --fork)

thanks folks! olmo

running 2 scripts running 2 commands on shell.

simplest thing run them in 2 different shells. or can run them in background if not writing important stdout in scripts.

in more complex way, can write program fork , exec these 2 commands, it's overkill.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -