Eilert Brinkmann wrote:
"Simon Chapman"
wrote: What does the command 'root' do? (root cat /home/rogier/backup)
it runs the command as root - I was assuming that the command goes in your root crontab, which of course it may not. Sorry about that. :-)
To be precise: You was assuming that the command goes in /etc/crontab, the global crontab file in which the user must be explicitly specified for each command because the file is not related to any particular user. Additionally root (like every other user) can have a personal crontab file /var/cron/tabs/root. This should be edited in the normal way with the command crontab and doesn't have a username column. All commands in it are run as root.
Eilert --
That's what I always do - edit the user's crontab using crontab -e. Rogier +---------------------------------+ | Rogier Maas | | icarus@guldennet.nl | | http://www.guldennet.nl~icarus/ | | ICQ# 2403780 | +---------------------------------+ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/