stopping node-cron function with another function

后端 未结 0 743
面向向阳花
面向向阳花 2021-02-20 05:32

I currently have this code below:

function subscribeNotifs(city, number, time, state){
  const task = cron.schedule(`0 ${time} * * *`, () => { 
    getData(cit         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题