/tmp running out of space
fredex
fredex at fcshome.stoneham.ma.us
Wed Jan 10 16:38:42 UTC 2007
On Wed, Jan 10, 2007 at 12:03:47PM +0000, Anne Wilson wrote:
> 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
Anne:
You may find it helpful to look at the man page for crontab(5) (man 5 crontab), as it tells how to set up a proper environment for cron jobs. The implication is that you don't have a full envrionment set up when cron runs a job.
--
-------------------------------------------------------------------------------
.---- Fred Smith /
( /__ ,__. __ __ / __ : /
/ / / /__) / / /__) .+' Home: fredex at fcshome.stoneham.ma.us
/ / (__ (___ (__(_ (___ / :__ 781-438-5471
-------------------------------- Jude 1:24,25 ---------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070110/d6618151/attachment-0001.sig>
More information about the fedora-list
mailing list