What is the best procedure for deploying web apps that rely on cron jobs (for cache maintenance, db updates, ...)? For things like DB schema changes, there are tools such as DBDeploy for managing the changes between versions, but how do you automate updates to the crontab?
I know that the actual cron files are stored in /var/spool/ but I've heard that it is severely unwise to edit these directly. How do other people do it?