Why do it as root? Generally, you shouldn't be editting /etc/crontab directly; you should instead use /usr/bin/crontab to edit it, or to replace the existing cron information with a file, as I suggested above. Using /usr/bin/crontab lets the script run as the owner of the crontab information.
Scott
In reply to Re: Re: Manipulating crontab
by scain
in thread Manipulating crontab
by tune
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |