[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] crontab & exec problem.



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