[CentOS] crontab for nobody

John Horne john.horne at plymouth.ac.uk
Sun Jul 20 19:03:45 UTC 2008


On Sun, 2008-07-20 at 19:20 +0100, Anne Wilson wrote:
> On Sunday 20 July 2008 18:04:10 Chris Clonch wrote:
> > On Sunday 20 July 2008 11:50:21 Anne Wilson wrote:
> > > On Sunday 20 July 2008 16:24:31 Robert - elists wrote:
> > > > > > What does 'crontab -u nobody -l' show ?
> > > > >
> > > > > Nothing at all - it just returns to the prompt.
> > > > >
> > > > > Anne
> > > >
> > > > Anne,
> > > >
> > > > It should say "no crontab for nobody" or show the crontab
> > > >
> > > > Eh?
> > >
> > > It doesn't do either
> > >
> > > Anne
> >
> > Sounds like there is an empty crontab for nobody.  Should be able to verify
> > this by 'ls -l /var/spool/cron/crontabs/nobody'.  What if you try to remove
> > it by running 'crontab -l nobody -r'?
> >
> I can't get that to run, Chris.
> 
> crontab: usage error: only one operation permitted
> 
I think what was meant was:

    ls -l /var/spool/cron/nobody

to see what the size etc of the crontab was for nobody,

then

    crontab -u nobody -r


to remove it if it was empty.



John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 587287
E-mail: John.Horne at plymouth.ac.uk       Fax: +44 (0)1752 587001



More information about the CentOS mailing list