Cron in to exec a Node.js script?

Using my elastic,co deployment, how can I run a node.js script every minute and collect the execution time for the script? I'd like to collect time series data on the scripts execution time and get alerts when it takes longer than normal.

I don't want to setup a compute resource out of band from my deployment and monitor it with my deployment. I want my deployment to run the script and collect and monitor the data.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.