Hi,

I'm running a node process on Cedar as a scheduled task. It runs fine, 
except the process never changes to "complete". If I run it every 10 mins, 
then pretty quickly I have several run.X processes that are continuing to 
run even though there is nothing to process, and this is not good for my 
bill.

My code is async and does execute a callback and so far the only way I've 
found to get the process to finish is to add {  throw new Error('done');  } 
when my last callback completes.

Perhaps I am missing something extremely obvious?

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/heroku/-/CfdnMQHR0SsJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to