My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Will a setTimeout function execute even after Node process is killed?

Will a setTimeout function execute even after Node process is killed?

Mike Conrad's photo
Mike Conrad
·Mar 22, 2016

In my Node app I am using setTimeout to schedule some tasks for later. My question is that if I restart my process or kill it, will the scheduled function still run?