Skip to content

Instantly share code, notes, and snippets.

@krlsdu
Created August 2, 2017 03:38
Show Gist options
  • Save krlsdu/58c505f434a70ca02a351fac7b9ffff3 to your computer and use it in GitHub Desktop.
Save krlsdu/58c505f434a70ca02a351fac7b9ffff3 to your computer and use it in GitHub Desktop.
Daemon, Cron, Backgroun Job
If you think you want to create a daemon process you should ask yourself one basic question: Does this process need to stay responsive forever?
If the answer is no then you probably want to look at a cron job or background job system. If the answer is yes, then you probably have a good candidate for a daemon process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment