How to create a crontab per user?
Hello,
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
... and I check and no crontab was actually created. The docs for
cron3.0pl1-38 indicate that either one or both of the files
/var/spool/cron/deny or /var/spool/cron/allow must be present for
accounts other than root to be permitted a private crontab. So I
set up both files:
flounder:~> ls -l /var/spool/cron
total 2
-rw-r--r-- 1 root root 5 Oct 9 10:46 allow
drwxr-xr-x 2 root root 1024 Jan 18 1997 crontabs
-rw-r--r-- 1 root root 0 Oct 9 10:43 deny
The 'allow' file contains my user name, and the 'deny' file is empty.
This doesn't seem to work either. I tried stopping and restarting
the cron daemon; this also doesn't work (haven't tried rebooting
yet, but it seems that shouldn't be necessary).
Can anyone clue me in to the magic configuration that is necessary
here?
Thanks.
--ken
__
Ken Lauffenburger / / __ __
ken@efficient.com / / D e b i a n G N U \ \/ /
/ / __ ____ __ __ \ /
/ / / / / _ \ / / / / / \
...Look out Bill, / /___ / / / / ) // (_/ / / /\ \
here comes... (______)(_/ (_/ (_/ \____/ (_/ \_)
________http://www.debian.org________
--
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: