> Check the contents of your root user's mailbox on this system. If cron > is not completely configured to send e-mails to the accounts which run > the cron commands, then the e-mails from cron have probably ended up in > the root mailbox. Anything sent to standard out/error from a cron > process will be mailed somewhere, unless that functionality is disabled.
I checked root's mailbox, and it's empty. If cron/amanda did try sending emails, I don't know where they went. :) > I am more used to individual crontab files, which gives cron the best > clue as to which user ID receives the e-mailed output, but that should > also work here (although I have no experience with the version of cron > that you are using). Are you saying create a crontab file for the amanda user, and if so, how? I did give this a shot with "crontab -e" as the amanda user (i.e. su amanda), but that didn't work at all (no emails or backups). > Run something like the following for a few minutes to track down the > processes and where they lead. It will give you more insight into > how e-mail from cron is handled. > > * * * * * amanda echo "Hello World" && sleep 45 && echo "Hello, > Again" <snip> Well, I got emails sent to me every minute or so, and running lsof didn't tell me much that I could make sense of. Here's the output: COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME bash 21851 amanda cwd DIR 8,6 4096 2 / bash 21851 amanda rtd DIR 8,6 4096 2 / bash 21851 amanda txt REG 8,6 626028 3194883 /bin/bash bash 21851 amanda mem REG 8,6 104560 3653635 /lib/ld-2.3.2.so bash 21851 amanda mem REG 8,6 11784 3653696 /lib/libtermcap.so.2.0.8 bash 21851 amanda mem REG 8,6 15900 3653647 /lib/libdl-2.3.2.so bash 21851 amanda mem REG 8,6 1536292 819204 /lib/tls/libc-2.3.2.so bash 21851 amanda 0r FIFO 0,5 2106751 pipe bash 21851 amanda 1w FIFO 0,5 2106752 pipe bash 21851 amanda 2w FIFO 0,5 2106752 pipe Bleh. :) Thanks for the help. I must be doing something stupid somewhere. Kanwar Sandhu
