Are dynos restarted when an application is deployed?


I've got some background jobs that run for a long time (hours).

If I deploy my app while those background jobs are running, will the dynos those jobs are attached to get restarted (thus killing the jobs)?

More specifically, those background jobs deal with downloading large files to /tmp...meaning if that dyno got restarted, it would interrupt the download.

Dyno's are restarted when you deploy, yes.

More importantly though, if you are downloading to /tmp then a deployment would create a new slug with an empty /tmp so anything downloaded would no longer exist.