Sign in
Log inSign up
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?

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct