adamryman/craigslistNotifier — pull request #6 by lelandbatey (2014-01-24 01:09:58+00:00)
Title: Modified crontab installation to be more efficient

Previously, installing a crontab meant writing the old config to a file on disk, writing to the end of that file, telling cron to use that file as the new crontab, then deleting all the temporarily created files/folder.

Now it reads the old crontab into a variable, modifies that variable, then installs the new crontab by feeding into the stdin of `crontab`. It's much shorter and cleaner, and results in less disk IO.