Home > To Edit > Unable To Edit Crontab

Unable To Edit Crontab

Contents

Now when strace starts the binary is is not possible to set the uid and you will not be able to access your file. - Seems like strace will not help What is a "frozen ATPL"? If this variable has not been set, the crontab command uses the default editor, ed. Difference between \the, \showthe and \show commands? weblink

Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework. Showing results for  Search instead for  Do you mean  Menu Categories Solutions IT Transformation Internet of Things Topics Big Data Cloud Security Infrastructure Strategy and Technology Products Cloud Integrated Systems Networking Why is the movie called "Dirty Dancing"? What are the considerations for waterproofing a building's first few floors?

Unable To Edit Crontab In Solaris 10

I have forgotten what the puzzle was Why is sinh(45) not infinity? This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. Iwill take it in to account.Thanks CheersMahalingam Red Flag This Post Please let us know here why this post is inappropriate. You need to have an environment variable to change to another editor.

  • Near the end you should find some kind of error indicating what is wrong. (Often it is an open of a file on which you don't have the needed permissions.) share|improve
  • Reason: now with 50% less typos.
  • 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.
  • Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
  • Close this window and log in.
  • I can move cursor up and down but can't write.
  • This site is not affiliated with Linus Torvalds or The Open Group in any way.
  • Any more ideas?
  • Bipin Sautadekar replied Nov 17, 2009 Hi, Plz give this commands TERM=vt100;export TERM EDITOR=vi;export EDITOR Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed)
  • should be owned by yourusername:crontab, and have 600 permissions.

I type $ crontab -e and all I see is Killed I am, however, able to edit a file (let's say I call it crontab.in) and then type $ crontab crontab.in Last edited by rweaver; 01-19-2010 at 01:04 PM. It is, however, running as root. –Keith Wolters Jan 18 '13 at 21:19 I don't know, but personally I prefer crontab anyway; it avoids losing information if I How to Create or Edit a crontab FileBefore You Begin If you are creating or editing a crontab file that belongs to root or another user you must become root.

Click Here to receive this Complete Guide absolutely free. How To Edit Crontab In Solaris You do not need to become root to edit your own crontab file. 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? this page Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ

Already a member? I ran `crontab -r` to remove it successfully. No spaces please The Profile Name is already in use Password Notify me of new activity in this group: Real Time Daily Never Keep me informed of the latest: White Papers Legal Notices Login with LinkedIN Or Log In Locally Email Password Remember Me Forgot Password?Register ENGINEERING.com Eng-Tips Forums Tek-Tips Forums Search Posts Find A Forum Thread Number Find An Expert

How To Edit Crontab In Solaris

I try to edit my crontab again but can't. jlliagre View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by jlliagre Thread Tools Show Printable Version Email this Page Search this Thread Advanced Unable To Edit Crontab In Solaris 10 reading the cron file White Papers & Webcasts Using Virtualization to Balance Work with TCO Simplified Enterprise Phone Systems Return Path Email Metrics Troubleshooter Blueprint for Delivering IT-as-a-Service - 9 Steps Crontab -e Not Working After entering crontab -e, press i to turn on insert, enter your full line, press esc to finish entering, and then hold down shift and press z twice to save the

How does it ever intersect with the hyperbola, seeing as it goes along the asymptote? have a peek at these guys For example, the following output shows that crontab files exist for users jones and smith. $ ls -l /var/spool/cron/crontabsVerify the contents of user's crontab file by using the crontab -l command Please visit this page to clear all LQ-related cookies. Ican only edit the crontab if i'm a root user. How To Edit Crontab In Linux

Remove advertisements Sponsored Links FredSmith View Public Profile Find all posts by FredSmith #2 10-24-2005 Perderabo Unix Daemon (Administrator Emeritus) Join Date: Aug 2001 Last Activity: 26 what are the permissions on /var/spool/cron/crontabs/yourusername ? (need to be root to check on that). here you will see a bunch of files. http://brrian.net/to-edit/unable-to-edit-crontab-file.html http://networking.ringofsaturn.com/Unix/ed.php has a decent tutorial on how to use it.

hi, couple of things to check: is there a /etc/cron.deny? Verify your crontab file changes.# crontab -l [username]Example14-1 Creating a crontab File The following example shows how to create a crontab file for another user. # crontab -e jones The following Format is exactly the same except you have to add the name of the user who's running the job.

Currently, if I try to do a crontab -e, it just comes back with: # crontab -e 7987 If I do a crontab -l,

Another machine: Quote: $ crontab -e 69 What could be the problem? Cancel Red Flag SubmittedThank you for helping keep Tek-Tips Forums free from inappropriate posts.The Tek-Tips staff will check this out and take appropriate action. I am able to list the crontab, crontab -l. Without changing anything, I was able to write / save to the crontab, go figure. -_- Adv Reply August 9th, 2009 #8 nanotube View Profile View Forum Posts Private Message

UNIX is a registered trademark of The Open Group. Home | Invite Peers | More UNIX Groups Your account is ready. Crontab Script Crontab Refresh? http://brrian.net/to-edit/unable-to-edit-crontab-solaris.html Code: SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # default Ubuntu stuff # m h dom mon dow user command 17 * * * * root cd / && run-parts --report /etc/cron.hourly 25 6 * *

Checking to see if a string is alphabetic more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback When I enter crontab -e, the file opens but I can't write anything. srilinux Solaris 25 12-17-2006 02:50 AM Edit Crontab juliet UNIX for Dummies Questions & Answers 11 09-28-2006 05:32 PM edit crontab without -e d_swapneel14 Shell Programming and Scripting 8 04-11-2006 04:50 edit the approrate file and RESTART cron.

Adv Reply January 28th, 2011 #10 xyepblra View Profile View Forum Posts Private Message A Carafe of Ubuntu Join Date Nov 2008 Location [email protected] Beans 86 DistroUbuntu 12.04 Precise Pangolin chandra sekhar karuturi replied Oct 30, 2007 have you tried this, #EDITOR=vi #export EDITOR #crontab -e then you will get the file to be edited , edit it and save it For details and our forum data attribution, retention and privacy policy, see here Skip to ContentSkip to FooterSolutions Transform to a Hybrid Infrastructure Protect Your Digital Enterprise Empower the Data-Driven Organization Here's Why Members Love Tek-Tips Forums: Talk To Other Members Notification Of Responses To Questions Favorite Forums One Click Access Keyword Search Of All Posts, And More...

If you'd like to contribute content, let us know. vBulletin 2000 - 2016, Jelsoft Enterprises Ltd. rhel cron share|improve this question edited Jan 18 '13 at 22:21 Keith Thompson 8,69232235 asked Jan 18 '13 at 20:39 Keith Wolters 1166 1 Does crontab -l work? crontab share|improve this question asked Nov 16 '12 at 13:53 user1821484 148310 What are the rights on the file?

I even can not exit from this file because Ctr+x doesn't work. Talk With Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! You are currently viewing LQ as a guest.