Cron & Tripwire

CodeHeads ch at code-heads.com
Mon Nov 28 19:10:47 UTC 2005


On Mon, 2005-11-28 at 12:34 -0600, Don Maxwell wrote:
> On 11/28/05, Will <ch at code-heads.com> wrote:
>         I have a problem. When I run tripwire as a cron it gives me a
>         blank output
>         file.  When I run in at the command line it works.  Does
>         anyone have an idea
>         why this is happening??
> 
> Here is what my crontab entry looks like for tripwire: (sensitive info
> changed)
> 
> 0 5 * * * /usr/sbin/tripwire --check | /bin/mail
> username at mailservice.com -s "[Tripwire Check] hostname" 2>&1
> 

Here is what I have.

Script:
tripwire --check > /path/trip.txt

Is the path to trip supposed to be: /sbin/tripwire ?? If so then this is
my mistake.

Cron:
00 05 * * * /path/tripwire/script (Above)

~WILL~




More information about the fedora-list mailing list