Thursday, 13 April 2017

Recurring functions in Node JS

I try to develop a little browser game based on NodeJS and Angular 4. I have an API server running on NodeJS which is connected to a MongoDB and a second server running Angular 4.

I want to execute recurring standard functions (like every 15 minutes) in the background.

Do I need a third server which runs that functions? Or can I run that functions independently on my API server - no matter which route is open?



via snibbo

No comments:

Post a Comment