Hi guys, I am working on writing a web application that is using express. One of the requirements is for it to run scheduled tasks, which I am using the node-cron library to accomplish. I am getting frustrated though. My intended functionality is for the node-cron tasks to be isolated from the main process, so that when they encounter an error or exception, they close only themselves. I need them as a node module, because they need to interact with some methods inside my web app. I figured that this would be the best group of people to ask, as you all are very familiar with the technology. So, what is the best way to handle errors through this? The function calls will all be asynchronous.
Submitted February 02, 2016 at 03:17AM by FoamythePuppy
No comments:
Post a Comment