As always, it depends on what you need, but I could envision a very simple script that would create a file with the appropriate cron information in it, then executes with a system call system ("crontab",$FILE);.
Should be pretty easy. If there is other stuff in the crontab for that user, it gets a little tricker, but it shouldn't be undoable.
Scott
In reply to Re: Manipulating crontab
by scain
in thread Manipulating crontab
by tune
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |