theunixtips.com
bash : Automate add/modify/delete of cron jobs from a script
Output redirections using pipes can be used to combine multiple crontab commands to install new cron job or to modify or delete old cron jobs without using any temporary files.