User is not able to perform cron jobs. How do u troubleshoot?
Answers were Sorted based on User's Feedback
Answer / uday
by default only root user has permission to use cron
utility.
Hence check wheather cron.allow or cron.deny exist.
If these files are present then check entries for the user
which is performing cronjob.
also check wheather user has proper permission for the
command or file system which is included in crontab.
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / sameer patil
By default root user have permission to run crontab,
check wheter /etc/cron.d/cron.allow file is present , if it
then check entry for the user who performing the cron jobs
then set the #EDITOR=vi; , # export EDITOR & run crontab -e
cammand,
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / raghu
Verify whether the crond daemon is running or not. Also
verify the cron logs.i.e log file under /var/cron/
| Is This Answer Correct ? | 4 Yes | 1 No |
Before do all these , check the userid for cronjob has
expired or locked.If so unlock passwd -u <userid> or set
nonexpiry
#passwd -x -1 <userid>
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vj
user's password is expired due that reason he is unable login inti the cron job.U can check it in the
go to the /var/cron and u will find passwd expired
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kishore devkate
export EDITOR=vi ;to specify a editor to open crontab file.
| Is This Answer Correct ? | 3 Yes | 6 No |
Hi friends this is rakesh recently i went to an interview there they asked me what is the port number using to connect telnet from one system to another system and what deamon is used to connect telnet.
How does a solaris cluster work?
Tell me how to solve the system hung issue. Found that the memory state is free, commands to check and solve the issue?
How to check version VXVM? Pkginfo –l | grep VRTS
What can be a reason for the solaris system slowing down? How can it be rectified?
Performace degradations in NFSv4 when upgraded from NFSv3? problems with NFS v4?
How can the output be redirected to some other action process in place showing it in the screen?
After adding LUNs disk is not showing in the format command. How to resolve that?
How can a user access a dos-format disk in solaris?
in a global zone we are created a zone. how can we know whether it is a sparse root model or whole root model.
what is the difference between sc> and lom> ?
They have user like aa with home dir /export/home/aa. They want to change home dir to /export/home/bb & username remains same. User files in /export/home/aa moved to bb? What do u do?