Re: How to create a crontab per user?
On Oct 11, 12:11am, Craig Sanders wrote:
> Subject: Re: How to create a crontab per user?
> On Fri, 10 Oct 1997, Ken Lauffenburger wrote:
>
> > I'm having trouble understanding how to create a crontab on a per-user
> > basis. I have tried the standard
> >
> > crontab -e
> >
> > ... this allows me to think I am editing a personal crontab, but then
> > when I save and quit, I get the following:
> >
> > wrote /tmp/crontab.XXXXa28090, 2 lines, 3 chars
> > crontab: "/usr/bin/vi" exited with status 1
>
> you say "save and quit". my guess is you're typing :w to save and then :q
> to quit.
Actually I was using ZZ to save and quit.
>
> the quit makes vi exit with a status code of 1. 'crontab -e' interprets
> this as "abort".
>
> try :x - this saves and exits with a status of 0.
Thanks for the suggestion; I tried it, but same result.
BTW, I thought this might be some permissions problem. I tried changing
the permissions on the /var/spool/cron/crontabs directory to 777, but
no luck.
>
> craig
--ken
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: