How would you make a script that edits a user's crontab file. I'm using mrtg, and rrdtool. I've made a web page that creates the mrtg cfg file. I'd also like for it to add an entry into crontab. I think the user that it runs under is wwwrun.
Any hints on how to do this?