Clearing "sessions" collections in mongoDB mean stack

I am using Mean Stack (mean.io) app on heroku, and just noticed that my "sessions" collection is getting pretty big, and I couldn't find any job in mean that clears it.

is there a preferred way of clearing it using Mean stack?

Update: Immediately after posting question I found this: https://devcenter.heroku.com/articles/scheduler

Might do the trick actually.

Answers


I don't use Heroku, but on OpenShift it's easy to add a RockMongo cartridge, which gives a great interface to your MongoDB database. I see that it's available on Heroku too: http://www.paasmag.com/2011/11/30/how-to-manage-mongodb-on-openshift-with-rockmongo/


Need Your Help

How to send PHP mail with HTML formatting

email php

Everything was working ok until i added HTML. This code is sending the Email with an address as my hosting account username not the email i'm specifying.

How can I remove a CSS style?

javascript html css twitter-bootstrap

I want remove some style in bootstrap, this is a example: