Shell Programming and Scripting

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

👤 Login to reply

    #1  
Old 06-29-2009
mac4rfree mac4rfree is offline
Registered User
 
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.
Sponsored Links
    #2  
Old 06-29-2009
nj78 nj78 is offline
Registered User
 
Maybe a problem with the user, this post:
https://www.unix.com/unix-advanced-ex...nd-answer.html
Sponsored Links
    #3  
Old 06-30-2009
otheus's Unix or Linux Image
otheus otheus is offline Forum Advisor  
Smartass
 
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.
Sponsored Links
👤 Login to reply

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
crontab issue crackthehit007 UNIX for Advanced & Expert Users 4 03-22-2009 11:32 PM
Crontab email issue ryannam Solaris 5 06-20-2008 12:39 PM
crontab issue vaddi HP-UX 11 01-28-2008 05:07 AM
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 05:02 AM.

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





Not a Forum Member?
Forgot Password?