[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] crontab & exec problem.
- Subject: [cobalt-users] crontab & exec problem.
- From: Charles Teton <info@xxxxxxxxxx>
- Date: Thu Jul 18 02:29:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
I'm trying to get 'chkrootkit' to email me an output once a day. In the
/etc/crontab file I've put:
30 9 * * * root /home/tools/chkrootkit-pre-0.36/chkrootkit 2>&1 | mail -s
"chkrootkit output" root
This seems to work fine apart from where 'chkrootkit' need to 'exec' a file.
I can run 'chkrootkit' properly if I login, just not via 'crontab'. Can
anyone see where I'm going wrong...
Many thanks
Regards,
Charles Teton