Summary
Learn the in's and out's of creating Unix Daemons in Python. Walker Hale will walk you through several examples, gotchas, and tips and tricks.
Description
Daemons are those pieces of software in Unix (including Linux and Mac OS X) that run in the background and typically start automatically during system boot. Times when you might want a daemon include:
- Monitoring an "inbox" directory in situations where a cron job is not appropriate
- Managing (possibly multiple) instances of software according to business rules
Although most daemons are written in C, Python is a great alternative.