Home  >  Q&A  >  body text

linux - How to implement more stable scheduled tasks in node.js

I hope that the node program can perform different operations at different fixed time points every day. How to achieve this?

The financial business scenario should be similar, right? For example, Yu'e Bao, you can buy and sell at any time. The calculation of principal and interest is implemented by the backend scheduled service, right? Is it settled at 0 o'clock every day?

过去多啦不再A梦过去多啦不再A梦2701 days ago595

reply all(4)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-27 17:46:44

    node-schedule

    reply
    0
  • 阿神

    阿神2017-05-27 17:46:44

    You can use agenda package

    reply
    0
  • PHPz

    PHPz2017-05-27 17:46:44

    Provide an interface and then schedule the curl interface through crontab

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-27 17:46:44

    later module

    reply
    0
  • Cancelreply