Re: /tmp running out of space

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

 



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@xxxxxxxxxxxxxxxxxxxxxx 
/    /  (__ (___ (__(_ (___ / :__                                 781-438-5471 
-------------------------------- Jude 1:24,25 ---------------------------------

Attachment: pgp51W9BLMhAK.pgp
Description: PGP signature

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux