Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何人都知道如何在 mongodb 中每隔一小时或一天运行一次 mapreduce?我知道我可以在我的应用程序或操作系统中做到这一点,但我正在 mongodb shell 中寻找一些东西。
谢谢!
您将需要查看运行 cronjob 或类似的东西,并将 javascript 文件传递到 Mongo shell。