Home > To Edit > Unable To Edit Crontab In Linux

Unable To Edit Crontab In Linux

Contents

Check that /var/spool/cron/crontabs has the correct permissions and ownership: drwx-wx--T 2 root crontab 4096 Oct 8 2013 /var/spool/cron/crontabs In the future, don't mess with permissions of system files. Add command lines to the crontab file.Follow the syntax described in Syntax of crontab File Entries. When I run `crontab -l` I already have something in my crontab (Ubuntuzilla checking for Firefox updates). When i use crontab -e to edit, it does not show the contents of the crontab for editing, but will give a simple number, so unable to edit the crontab. http://brrian.net/to-edit/unable-to-edit-crontab.html

Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... Doing so ensures that the command executes properly.# This command helps clean up user accounts. 1 0 * * 0 rm /home/jones/*.log > /dev/null 2>&1 How to Verify That a crontab LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris user cannot edit his cron entries using crontab -e User Name Remember Me? Red Hat Account Number: Red Hat Account Account Details Newsletter and Contact Preferences User Management Account Maintenance Customer Portal My Profile Notifications Help For your security, if you’re on a public http://www.linuxquestions.org/questions/solaris-opensolaris-20/user-cannot-edit-his-cron-entries-using-crontab-e-783261/

Unable To Edit Crontab In Solaris 10

Adv Reply August 7th, 2009 #3 wizard10000 View Profile View Forum Posts Private Message Visit Homepage Dipped in Ubuntu Join Date May 2007 Location michigan BeansHidden! Son's music tastes Can a typeface be designed to have characters depend on previous characters within a typed word? 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 If you instead saved changes and exited the file, the existing crontab file would be overwritten with an empty file.

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 PCMag Digital Group AdChoices unused UNIX & Linux Forums > Top Forums > UNIX for Dummies Questions & Answers Member Name Remember Me? Search for text in a file, then rename the file with that text Did Donald Trump say that "global warming was a hoax invented by the Chinese"? every Sunday morning.

Need access to an account?If your company has an existing Red Hat account, your organization administrator can grant you access. Crontab -e Not Working When should streams be preferred over traditional loops for best performance? 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 this content Browse other questions tagged crontab or ask your own question.

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. The crontab file will be placed in the /var/spool/cron/crontabs directory. edit the approrate file and RESTART cron. share|improve this answer answered Nov 16 '12 at 14:03 JcDenton86 5731628 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign

Crontab -e Not Working

This site is not affiliated with Linus Torvalds or The Open Group in any way. check over here Click Here to receive this Complete Guide absolutely free. Unable To Edit Crontab In Solaris 10 Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered How To Edit Crontab In Linux Top This thread has been closed due to inactivity.

Mar 17 16:21:09 xxxx crontab: User account has expired Environment Red Hat Enterprise Linux 5 vixie-cron Subscriber exclusive content A Red Hat subscription provides unlimited access to our knowledgebase of over this content I have permissions to /tmp (touch /tmp/foo works for example). Colony on the moon - how fast can Santa deliver? check it doing this: ls -all $(which crontab) if not you can change them..take a look here too..maybe you find something more!

  1. 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.
  2. If you'd like to contribute content, let us know.
  3. When I run `crontab -l` I already have something in my crontab (Ubuntuzilla checking for Firefox updates).
  4. 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
  5. Password Home Search Forums Register Forum RulesMan PagesUnix Commands Linux Commands FAQ Members Today's Posts UNIX for Dummies Questions & Answers This forum is closed for new posts.

For details and our forum data attribution, retention and privacy policy, see here Skip Navigation Links Exit Print View Oracle Solaris Administration: Common Tasks Oracle Solaris 11 Information Library Search Scope: Another machine: Quote: $ crontab -e 69 What could be the problem? 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 weblink We Acted.

That did the trick. All rights reserved. Ed is rough.

Theorems demoted back to conjectures Can Mirror Image still work while being grappled?

Censure due to holding an Army commission and a seat in Congress Can I disarm and immediately grapple with Tavern Brawler? The time now is 08:09 PM. This command invokes the text editor that has been set for your system environment. In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms

If you need to reset your password, click here. should be owned by yourusername:crontab, and have 600 permissions. You can create your own crontab file without superuser privileges, but you must have superuser privileges to creating or edit a crontab file for root or another user. check over here 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

GeoTrust Juniper Networks Adaptive Planning View All Topics View All Members View All Companies Toolbox for IT Topics UNIX Groups Ask a New Question Solaris The Solaris group is a forum