Re: crontab for nobody

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



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@xxxxxxxxxxxxxx       Fax: +44 (0)1752 587001
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux