NodeJS Script stops running

Hi,
I am running a NodeJS script to listen to a pub/sub model on the Google Cloud and save to a .JSON file. However, after a number of successful saves to the same JSON, the script stops working (stops working at inconsistent point). While I realize there are multiple ways to save this data, is it possible to still have the script running for 30 minutes to 3 hours?
I cannot currently figure out how to keep the Google Cloud NodeJS script running. I am currently launching this through the command line in the Google Cloud console.
Thanks,
Mike

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