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

Re: [cobalt-users] crontab



> I am trying to set-up a cron job as a user
> I telnet in and get the following
> [server@ns /]$ crontab -u adminuser -e filename.cron
> must be privileged to use -u
> admin user is the admin username of the account (ftp and all that)
> what am I doing wrong  I would like to be able to set this up as the user
> and not admin
> Andrew

Your way off here
First you need to be root and if your going to try and edit the users
crontab directly you don't need a filename.

so you would

/bin/su
crontab -u theirusername -e

this might help you too
http://www.zeffie.com/Basics/Crontab.html

Zeffie