简体   繁体   中英

How to archive cron job in node js express?

I would like to fetch some data from a API , where data updated vary frequently . i want to hit api on every second to check update. how can i archive this in node js/express, so i can get updated data and store in DB.

您可以使用Cron模块,该模块非常容易在node / express中实现cron作业。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM