crontab share|improve this question asked Nov 16 '12 at 13:53 user1821484 148310 What are the rights on the file? Start a new thread here 1674506 Related Discussions Crontab -l is Not Working in AIX 4.3.3 Crontab troubles Enabling a user to edit root crontab file schedule database backup thru crontab Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by HomeForumsMIS/ITOperating Systems - UNIX basedSun: Solaris Forum Impossible to edit maybe you should open it as root user if not. http://brrian.net/to-edit/unable-to-edit-crontab.html
rweaver View Public Profile View LQ Blog View Review Entries View HCL Entries Visit rweaver's homepage! The following example shows how to determine if an editor has been defined, and how to set up vi as the default. $ which $EDITOR $ $ EDITOR=vi $ export EDITOR Another machine: Quote: $ crontab -e 69 What could be the problem? The time now is 03:11 PM. - Contact Us - UNIX & Linux - unix commands, linux commands, linux server, linux ubuntu, shell script, linux distros. - Advertising - Top http://unix.ittoolbox.com/groups/technical-functional/solaris-l/crontab-issue-unable-to-edit-only-list-1674506
It's functional but when you've gotten used to a more advanced editor it is just painful to use. Close Reply To This Thread Posting in the Tek-Tips forums is a member-only feature. cwalker33 replied Oct 29, 2007 You have to set your editor with one of the following before you use vi: ksh EDITOR=vi;export EDITOR -or- csh setenv EDITOR vi Top Best Answer What's $EDITOR set to? –Dennis Kaarsemaker Jan 18 '13 at 20:40 the editor needed a tmp file in /tmp dir may be permission question?
Regards, David. Validate Random Die Tippers How to remove Date from output? Already a member? However, I've been having what I believe to be a permissions problem when trying to add the cron job to crontab.
Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. How To Edit Crontab In Solaris Ican only edit the crontab if i'm a root user. Add command lines to the crontab file.Follow the syntax described in Syntax of crontab File Entries. http://stackoverflow.com/questions/13418007/can-not-edit-cronjobs-file-in-debian-with-crontab-e more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
General Sun, SunOS and Sparc related questions also go here. Toolbox.com is not affiliated with or endorsed by any company listed at this site. Crontab issue -- Unable to edit, only list Prasanna SN asked Oct 29, 2007 | Replies (11) I am running Solaris 10 U4. Where should a galactic capital be?
Does a byte contain 8 bits, or 9? http://www.linuxquestions.org/questions/solaris-opensolaris-20/user-cannot-edit-his-cron-entries-using-crontab-e-783261/ Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters. Unable To Edit Crontab In Solaris 10 varun koli replied Oct 29, 2007 u can export EDITOR=vi then use crontab -e it will work Regards VArun Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, Crontab -e Not Working The crontab file will be placed in the /var/spool/cron/crontabs directory.
Crontab Script Crontab Refresh? this content This is not a good practice, try this only as a last resort. dcstar - Forgive my lack of knowledge but how do I find out what version of crontab I have installed? Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. How To Edit Crontab In Linux
Thanks in advance. Caution - If you accidentally type the crontab command with no option, press the interrupt character for your editor. Join Us! *Tek-Tips's functionality depends on members receiving e-mail.
Thanks! Then, if I try adding my new entry to the empty file that crontab -e shows me I get the following error: [ Error writing /tmp/crontab.aLq1HX/crontab: Permission denied ] ......... "2.6.27-7-server" Validate Random Die Tippers What caused my meringue to fall after adding cocoa? Currently, they look like this: Code: ls -l $(which crontab) -rwsr-xr-x 1 root crontab 31632 2009-05-12 17:46 /usr/bin/crontab Adv Reply January 3rd, 2011 #10 joshhowen View Profile View Forum Posts
Home | Invite Peers | More UNIX Groups Your account is ready. If you invoke "crontab -e" as a normal user (gmargo in this example), the permissions, owner, group should look like: Code: $ ls -ld /tmp/crontab.* drwx------ 2 gmargo crontab 4096 Jan I did try creating cron.allow and that didn't help though. http://brrian.net/to-edit/unable-to-edit-crontab-solaris.html That did the trick.