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. :-)
Currently, I have this in my crontab:
0 0 * * * /home/rogier/backup >/dev/null 2>/dev/null
I could make that into:
0 0 * * * /home/rogier/backup >/dev/null 2>/dev/null; cat backup | sendmail -f backup@host icarus@guldennet.nl
If I cat the backupfile, wouldn't that leave me with a mail full of rubbish instead of a mail with the file as an attachment?
Well, yeah, I guess it would. I'm so used to mailing myself (or other people) plain text files that I didn't consider that. Perhaps I'll just go away and not give people dumbass advice :-) Simon -- 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/