0

I currently have an api test script using supertest + mocha + grunt.

I would like to run this script every 1 minute. How is it possible

Rafael C.
  • 2,245
  • 4
  • 29
  • 45

1 Answers1

0

You can use linux cron job or node module schedular

https://github.com/node-schedule/node-schedule

TO run your script once in a minute.

Mustafa Mamun
  • 2,591
  • 2
  • 14
  • 17