try this example:
/usr/bin is the path
rkhunter is the script/binary
0 5 * * * (cd /usr/bin; ./rkhunter -c --cronjob 2>&1 | mail -s "RKHUNTER OUTPUT" [EMAIL PROTECTED])
this is what Im currently using :)
hope this helps :)
On 8/2/06, Michael Tinsay <
[EMAIL PROTECTED]> wrote:
--- John Peter Loh < [EMAIL PROTECTED]> wrote:
> Yep, I have that too. Is it possible that cron is
> running the script as a
> different user? I edited crontab via a non-root user
> with sudo.
>
> I tried crontab -u root -e and it opened the same
> crontab. I erased
> cron.allow and removed everything in cron.deny.
>
Why don't you post your script here? So we can have a
better look at it.
--- mike t.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

