How to make a cron job with PM2

后端 未结 6 1109
隐瞒了意图╮
隐瞒了意图╮ 2020-12-23 14:25

I want to make a cron job to send mail every 15 minutes taking data from a database table. In node js I can make a cron job but through PM2 I don\'t understand where to plac

6条回答
  •  一整个雨季
    2020-12-23 14:52

    there are three ways to implement cron through pm2

    1. pm2 command line
    2. pm2 ecosyste.config file
    3. pm2-api

    refer this this helped me .

提交回复
热议问题