[LBo] Re: cron: can't lock /var/run/cron.pid

Grasshopper marigold.6352 at gol.com
Wed Sep 27 13:08:55 CEST 2006


On Wed, 2006-09-27 at 06:35 -0400, Anita Lewis wrote:
> On 09/26/2006 09:11 PM Grasshopper wrote:
> 
> > linux:/home/grasshopper # cron
> > cron: can't lock /var/run/cron.pid, otherpid may be 6372: Resource
> > temporarily unavailable
> 
> I'm unclear why you are running cron from a commandline.  It is a daemon 
> that runs all the time on your machine and will look for times listed 
> for it to do commands that are in special files for it.
> 
Ah I see.  I actually thought it could be run to for e.g. update
software on a weekly/monthly basis.  So that's why I got the error from
the command line.  I now understand what a 'daemon' is

Many thanks for the link.

Mary E.
> http://linuxbasics.org/tutorials/using/automating_tasks_with_cron
> 
> Anita
> 



More information about the QnA mailing list