Lately I have found I have to do a lot of long running operations like:
db.whois.find({"basic.last_updated":"1970-01-01 00:00:00"}).forEach(function (doc) {
var parts = doc._id.split('@');
doc.basic.last_updated = parts[1];
db.whois.save(doc);
})
That's fine but since the shell prompt doesn't return until it's complete I am finding I have to keep lots of shells open. Is there any way I can issue a command and send it async so that I can continue using the same shell? Maybe even get a little message when the process is done?