Home Man
Search
Today's Posts
Register

BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

crontab issue

Tags
shell scripts

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 06-29-2009
crontab issue

Hi Guys,

I am having a prob with crontab..
When i enter "crontab -e", i am getting an message "History file has no read permission. [Press return to continue]"

And my crontab is not executed (means the script is not called).

What is the problem. can anybody help me..

Thanks for the help in advance..

Regards,
Magesh.
# 2  
Old 06-29-2009
Maybe a problem with the user, this post:
https://www.unix.com/unix-advanced-ex...nd-answer.html
# 3  
Old 06-30-2009
Two separate problems. It's entirely possible your account was never correctly set up... like a rookie admin simply created an entry in your passwd file a your home directory. Your home directory should be owned and writable by you:
Code:
$ ls -ld $HOME
drwxr-xr-x 41 otheus otheus 4096 Jun 30 11:26 /home/otheus

As far as the ocrontab not being executed, that might also be because the script is not properly being installed, but you might not be able to see that as a normal user. You can try:
Code:
ls -l /var/spool/cron/$USER

If that doesn't work, try it as root.
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Another issue with crontab rafa_fed2 Shell Programming and Scripting 30 07-24-2013 08:08 PM
Crontab issue jrymer UNIX for Dummies Questions & Answers 6 06-30-2013 04:51 PM
Crontab Issue aravindj80 UNIX for Advanced & Expert Users 10 05-30-2013 02:21 PM
Crontab Issue..!!! gayisada UNIX for Dummies Questions & Answers 1 05-02-2011 05:55 AM
Crontab issue h@foorsa.biz AIX 3 05-02-2011 03:55 AM
Crontab issue pinga123 UNIX for Advanced & Expert Users 1 03-17-2011 05:22 AM
Issue with crontab Sriranga Shell Programming and Scripting 12 06-24-2010 09:19 AM
crontab issue crackthehit007 UNIX for Advanced & Expert Users 4 03-22-2009 11:32 PM
Crontab Issue rickyt00 UNIX for Dummies Questions & Answers 2 08-06-2005 09:31 AM
crontab issue Semper_Tempus Solaris 6 07-19-2005 10:13 PM


All times are GMT -4. The time now is 06:56 PM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password