On Wednesday 10 January 2007 11:48, Ed Greshko wrote:
Anne Wilson wrote:
> I have a problem, Steve. Running that command from a root konsole works
> fine, so I set it to run as a cron job every Wednesday. Now I find that
> from both boxes where I set this up I'm getting root emails that say
>
> /bin/sh: tmpwatch: command not found
>
> What could be wonrg?
Use the full pathname. /usr/sbin/tmpwatch
Thanks, Ed. That seems to have cured it - at least 'Run now' worked fine.
I
just assumed that it would be on root's path, so didn't need the full
pathname.
Anne