I need help to create a few node js servers. One server should read from aws dynamodb (like once every minute), one should read data from a api, like once every day. Like cronjobs.
My problem here is how I should write an application that is running 24/7. Iam guessing while(true){doStuff()} is wrong?