Home > To Edit > Unable To Edit Crontab In Solaris

Unable To Edit Crontab In Solaris

Contents

August 9, 2012 at 4:20 PM Thanks for the post - noticed that:export EDITOR=vigave an errorEDITOR=vi: is not an identifierso:EDITOR=viexport EDITORalbeit didn't get as far as adding it to .profile Marko 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... Registration on or use of this site constitutes acceptance of our Privacy Policy. Toolbox.com is not affiliated with or endorsed by any company listed at this site. weblink

These tasks are often termed as cron jobs in unix , solaris. Crontab Script Crontab Refresh? You can create or edit a crontab file for another user, or root, if you have superuser privileges. Does your account have rights to the file? –Miguel-F Nov 16 '12 at 14:13 1 You might have a better chance getting answers from serverfault.com –emartel Nov 16 '12 at

Unable To Edit Crontab In Solaris 10

Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework. Legal Notices Review your favorite Linux distribution. I have permissions to /tmp (touch /tmp/foo works for example). 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

Register now while it's still free! 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 Check list file crontab [email protected] # crontab -l0 23 * * * /u02/applprod/backup_daily.sh 09 06 * * * /u02/applprod/backup_daily_up.sh 2. Change Crontab Editor Click Here to join Tek-Tips and talk with other members!

All product names are trademarks of their respective companies. How To Edit Crontab In Linux If you instead saved changes and exited the file, the existing crontab file would be overwritten with an empty file. All Rights Reserved. https://docs.oracle.com/cd/E23824_01/html/821-1451/sysrescron-24589.html Your crontab file is only accessible by root.

Thankyou all very much Top White Papers and Webcasts Popular The Difference Between Microsoft Azure & Amazon AWS Related Return Path Email Metrics Troubleshooter Blueprint for Delivering IT-as-a-Service - 9 Steps Crontab -e Not Working and also do you start cronotab as sudoer $ or as root # ? –Yurij73 Jan 18 '13 at 20:57 crontab -l does work (as I indicated). Ican only edit the crontab if i'm a root user. Please visit this page to clear all LQ-related cookies.

  1. What's the difference between ls and la?
  2. Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving...
  3. Close Reply To This Thread Posting in the Tek-Tips forums is a member-only feature.
  4. 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
  5. JZL240I-U SUSE / openSUSE 11 01-04-2007 02:57 AM Where are the crontab entries stored?
  6. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ
  7. Password Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
  8. How to edit CRONTAB file on Solaris Related Posts Widget Labels: Unix/Linux 5 comments: 8gb micro sd karte December 21, 2009 at 6:37 PM Cron is a unix, solaris utility that
  9. If you'd like to contribute content, let us know.
  10. Already a member?

How To Edit Crontab In Linux

Toolbox for IT My Home Topics People Companies Jobs White Paper Library Collaboration Tools Discussion Groups Blogs Follow Toolbox.com Toolbox for IT on Twitter Toolbox.com on Twitter Toolbox.com on Facebook Topics https://thiers.net/2011/11/09/solaris-not-able-to-edit-crontab-file/ If running ksh please do the following, or set it up in your .kshrc: export EDITOR=vi If sh, then EDITOR=vi;export EDITOR Dale Top Best Answer 0 Mark this reply as the Unable To Edit Crontab In Solaris 10 enjoy :) chand Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... How To Edit Crontab In Solaris When I open a file there is some information and the rest empty lines contain tildes ~ in the beginning of each line.

I get something like this: bash-2.05$ crontab -e 135 My problem is that I don't have EDITOR environment variable set. have a peek at these guys Find More Posts by rweaver 01-19-2010, 02:09 PM #4 chickenjoy Member Registered: Apr 2007 Distribution: centos,rhel, solaris Posts: 200 Original Poster Rep: Thanks slacker_et and rweaver. Romeo Ninov replied Oct 29, 2007 set your terminal i.e. edit file [email protected] # vi /var/spool/cron/crontabs/user_aplication0 23 * * * /u02/applprod/backup_daily.sh > /dev/null 2>&109 06 * * * /u02/applprod/backup_daily_up.sh > /dev/null 2>&1:wq!b. Crontab: Can't Open Your Crontab File.

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. Validate Random Die Tippers What's the meaning of "farmer by trade"? http://brrian.net/to-edit/unable-to-edit-crontab-solaris.html How to respond to a ridiculous request from a senior colleague?

I could edit the crontab using the root account but when i switch to the user account I'm getting the following problem: Quote: $ crontab -e 64 Trying to exit: Quote: What Is Crontab every Sunday morning. 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

donepicture from googling.. 0 komentar: Post a Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) Followers Labels Blogumulus by Roy Tanck and Amanda Fazani Blog Archive ► 2013

Search this Thread 01-19-2010, 12:54 PM #1 chickenjoy Member Registered: Apr 2007 Distribution: centos,rhel, solaris Posts: 200 Rep: user cannot edit his cron entries using crontab -e Hi, I Works as expected now. Currently, if I try to do a crontab -e, it just comes back with: # crontab -e 7987 If I do a crontab -l, Crontab Command 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

Prasanna S N Join this group Popular White Paper On This Topic Three Ways Big Data is changing ITSM 11Replies Best Answer 0 Mark this reply as the best answer?(Choose carefully, What did SuSE change? chickenjoy View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by chickenjoy 01-19-2010, 01:00 PM #2 slacker_et Member Registered: Dec 2009 Distribution: Slackware http://brrian.net/to-edit/unable-to-edit-crontab.html Join your peers on the Internet's largest technical computer professional community.It's easy to join and it's free.

Log In E-mail or User ID Password Keep me signed in Recover Password Create an Account Blogs Discussions CHOOSE A TOPIC Business Intelligence C Languages Cloud Computing Communications Technology CRM How does the unaspirated /t/ differ from /d/? 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 Thanks!

It however IS worth learning to use at a basic level because there have been times I've been forced to use it for more than a short period of time. I did try setting EDITOR.