[英]How to run an algorithm every x minutes on a Server?
I've created a clustering algorithm in Java that reads from a collection in a Mongo database, makes its computations and then writes to a new collection in the same database. 我在Java中创建了一个聚类算法,它从Mongo数据库中的一个集合中读取,进行计算,然后写入同一数据库中的一个新集合。 Now, I need this algorithm to run every 30 minutes in the server. 现在,我需要这个算法在服务器中每30分钟运行一次。 What could I use to do so? 我可以用它做什么?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.