0

I have to do some processing on the server, continuously, forever. I am thinking of using GNU screen to run this process in the background. I need to do some XMLHttp GET requests. Which would be the preferred languages to run this kind of forever running process?

Philip Kirkbride
  • 21,381
  • 38
  • 125
  • 225
SMG
  • 95
  • 1
  • 2
  • 11

1 Answers1

1

Those languages (node.js & php) would be equal in their ability to make simple REST requests.

How to make remote REST call inside Node.js? any CURL?

Call a REST API in PHP

Screen or forever would work. Another option is tmux, which lets you open multiple terminal panes that can keep running after you close them.

Community
  • 1
  • 1
Philip Kirkbride
  • 21,381
  • 38
  • 125
  • 225