0

Could I use node.js to create timed events that happen on another webpage? For example, could I set up a node.js server to connect to a website and click a certain button every 24 hours? Or is this something that node.js is not capable of? Should I use a different program to do it?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
McMatt
  • 129
  • 1
  • 14
  • This might help you with the scheduling of events - http://stackoverflow.com/a/20499504/4774345 – dan Jan 13 '17 at 16:09

1 Answers1

1

Yes. It is possible using crontab. For that you need to install a npm called node cron. Please follow the link click here

Guru
  • 411
  • 3
  • 20