Unix/Linux Go Back    


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

Shell Programming and Scripting


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 06-29-2009   -   Original Discussion by mac4rfree
mac4rfree mac4rfree is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 9 September 2015, 1:36 AM EDT
Posts: 283
Thanks: 8
Thanked 0 Times in 0 Posts
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 Unix and Linux 06-29-2009   -   Original Discussion by mac4rfree
nj78 nj78 is offline
Registered User
 
Join Date: Jul 2005
Last Activity: 27 December 2016, 1:00 PM EST
Location: Northern California
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
Maybe a problem with the user, this post:
https://www.unix.com/unix-advanced-ex...nd-answer.html
Sponsored Links
    #3  
Old Unix and Linux 06-30-2009   -   Original Discussion by mac4rfree
otheus's Unix or Linux Image
otheus otheus is offline Forum Advisor  
Smartass
 
Join Date: Feb 2007
Last Activity: 6 September 2017, 5:43 AM EDT
Location: Innsbruck, Austria
Posts: 2,157
Thanks: 12
Thanked 51 Times in 48 Posts
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
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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-23-2009 12:32 AM
Crontab email issue ryannam Solaris 5 06-20-2008 01:39 PM
crontab issue vaddi HP-UX 11 01-28-2008 06:07 AM
Crontab Issue rickyt00 UNIX for Dummies Questions & Answers 2 08-06-2005 10:31 AM
crontab issue Semper_Tempus Solaris 6 07-19-2005 11:13 PM



All times are GMT -4. The time now is 07:54 PM.