Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Alerting for cron jobs
I have a cron job running my nodeJS script every hour on a DigitalOcean droplet.
Is there any way to set up some kind of alarming if script throws an exception?
Alerting in DigitalOcean is only limited by metrics coming from hardware, looks like I need custom metrics that I could trigger from my NodeJS script, or some way to alert based on logs
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×