Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
like i usually would. but it always exits with some messgae about crontab was not edited. i go back into edit mode and it's true, my addition was not kept. can anyone help me. i go in as root and i haven't run across anything that would tell me why it wouldn't work.
i'm not sure the other editor choice will work. "vi crontab -e" just gives a bunch or ascii char or something. crontab -e lets you move around like your in vi, but like i said it won't store the changes. the permissions on the /usr/bin/crontab (which i think is the location, since you can type "crontab -e anywhere") are same on the server that doesn't work as the server that does let me edit upon ll:
-rwsr-xr-x (permissions on the server that does and does not let me edit)
so we are still not knowing why i doesn't work
Last edited by wedgeworth; 09-16-2003 at 12:48 PM.
vanquisher- turns out i think you were right. i think it's an editor problem not crontab itself or some kinda of priviledges problem. now i'll i need to do is reassign the editor to emacs. not real sure how to. i think it's something like this. if someone knows the exact syntax i'd appreicate. i've been looking a little bit but i haven't quite figured out the exact way to resign the editor yet.
vanquisher- turns out i think you were right. i think it's an editor problem not crontab itself or some kinda of priviledges problem. now i'll i need to do is reassign the editor to emacs. not real sure how to. i think it's something like this. if someone knows the exact syntax i'd appreicate. i've been looking a little bit but i haven't quite figured out the exact way to resign the editor yet.
maybe
> $EDITOR=/usr/bin/emacs crontab -e
or
> $EDITOR=/usr/bin/emacs
this did NOT work. didn't recognize the setenv command
*crontab*
One situation where [backupcopy's] "no" and "auto" will cause problems: A program
that opens a file, invokes Vim to edit that file, and then tests if
the open file was changed (through the file descriptor) will check the
backup file instead of the newly created file. "crontab -e" is an
example.
*crontab*
One situation where [backupcopy's] "no" and "auto" will cause problems: A program
that opens a file, invokes Vim to edit that file, and then tests if
the open file was changed (through the file descriptor) will check the
backup file instead of the newly created file. "crontab -e" is an
example.
Probably; but after this thread being closed for FIFTEEN YEARS, I think the OP has figured it out by now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.