working mongo scheduler