[CentOS] crontab for nobody

Anne Wilson cannewilson at googlemail.com
Sun Jul 20 19:24:34 UTC 2008


On Sunday 20 July 2008 20:03:45 John Horne wrote:
> 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,
>
-rw------- 1 root root 0 Jul  7 16:07 /var/spool/cron/nobody
> then
>
>     crontab -u nobody -r
>
>
> to remove it if it was empty.
>
That seems to have done it, thanks.

Anne

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachments/20080720/bfc42b81/attachment.sig>


More information about the CentOS mailing list