sys cron not running


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users sys cron not running
# 1  
Old 10-18-2011
sys cron not running

Hi all,
I have a solris 10 machine and i am facing some strange issues.
My sys user cron is not executing.
Can any one help on this issue?
Code:
root@antsdp1b>svcs -a|grep -i cron
online          1:08:55 svc:/system/cron:default
root@antsdp1b>

the cron process is also running. but whatever i schedule in the sys user cron, it is not executing. However the same thing was working earlier.

Regards
Vivek
# 2  
Old 10-18-2011
Is your user in the cron group?
# 3  
Old 10-18-2011
@Corona688: how to check that?
# 4  
Old 10-18-2011
run groups as that user
# 5  
Old 10-18-2011
Look into the cron.allow file in /etc/cron.d and add sys user to it.

If cron.allow is not there, then look for cron.deny and sys user must not be in there, if yes then remove it.

Regards,
Vishal
# 6  
Old 12-14-2011
Cron soultion

I had a similar problem.... cron jobs were running great, we had a power flash, and no more cron jobs.

The system time on the old 486 that I'm using was incorrect. That is not unusual after a power flash, so I reset it. This time, it did not fix the problem. Still no cron. The hwclock was incorrect, so I reset that, but no still no cron.

I found somewhere on a forum that you could use ls -lut /etc/init.d/crond to see when the crond process was last started. The date was Feb of 2012. My battery that keeps the time on the HW clock must be bad.

I stopped the process using /etc/init.d/crond stop then restarted the process using /etc/init.d/crond start. This fixed my problems.

Your crond process may start from somewhere else, maybe /etc/rc.d/init.d./. YMMV.

Hope this helps

Roger
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Interactive Python 3.5+ sys.stdout.write() AND sys.stderr.write() bug?

(Apologies for any typos.) OSX 10.12.3 AND Windows 10. This is for the serious Python experts on at least 3.5.x and above... In script format sys.stdout.write() AND sys.stderr.write() seems to work correctly. Have I found a serious bug in the interactive sys.stdout.write() AND... (2 Replies)
Discussion started by: wisecracker
2 Replies

2. Windows & DOS: Issues & Discussions

Sys headers - running Linux C code on windows

Hi All, I wanted to run a small socket application written in C on windows. The code was written for GNU/linux..the compiler on windows CodeBlocks complains about the sys headers. is there an equivalent for windows ? (4 Replies)
Discussion started by: coolatt
4 Replies

3. Shell Programming and Scripting

Script not running in cron

Hi All, I have a script which is running fine while triggered manually, However if I placed in crontab it throwing an error. #!/usr/bin/ksh set -vx lc=1 st_date=$(`date "+%Y%m%d"`) LOGFILE=/home/transfer.log.$st_date file="/home/OM_WF.log.$st_date" Manual run - lc=1 + lc=1... (4 Replies)
Discussion started by: nag_sathi
4 Replies

4. Solaris

Cron job running even after cron is removed

Hi , I have removed a cron for particular user , but cron job seems to be running even after the cron entry is removed. The purpose of the cron was to sendmail to user ( it uses mailx utility ) I have restarted cron and sendmail service still user is getting mail alerts from the cron job. And... (4 Replies)
Discussion started by: chidori
4 Replies

5. UNIX for Advanced & Expert Users

SYS CRONJOB just not running...

I'm trying to run "SAR -i 60" under #/var/spool/cron/crontabs/SYS 0,10,20,30,40,50 0-6 sh -c "/usr/lib/sa/sa1 60 10 &" 55 23 * 0-6 /usr/lib/sa/sa2 -i 900 -A machine is not running above cron job under "sys" at all. This suppose to run every minutes and all time in 24 hours. When day... (6 Replies)
Discussion started by: deal732
6 Replies

6. UNIX for Advanced & Expert Users

Cron not running

Hello All, I have installed a few crons on a machine. But for some reason the crons just don't run. I have checked the permissions on the files and also restarted the cron daemon. But it doesn't seem ti help. Can anyone suggest any other things I can do to get it running again? Regards,... (6 Replies)
Discussion started by: garric
6 Replies

7. Shell Programming and Scripting

Cron not running .. please help

i have a simple script that ftp a file out, manually running it works fine. #!/bin/sh ftp 152.226.69.48 << cmd bin get applicant_vw.txt quit cmd but when I cron it, 14 9 * * * /opt/home/XXX/XXX/dailyjob.sh > /opt/home/XXX/XXX/cronlog.txt seems that it was executed because i can... (2 Replies)
Discussion started by: beisaikong
2 Replies

8. Solaris

[need help] about after running sys-unconfig and config network for v890

hi expert, i had do sys-unconfig for my v890 sparc and had config for eri0 network interface and hostname but after the server bring up i got this error messages : NIS domainname is www.USSDGmdn-4.com starting rpc services: rpcbind keyserv done. Setting netmask of eri0 to 255.255.255.0... (5 Replies)
Discussion started by: bucci
5 Replies

9. Shell Programming and Scripting

running cron jobs

Hi, I'm new to cron and I would like to know if this cron entry looks right. Every monday to friday, at 9:15 AM execute the script called done_att.sh Every monday to friday, at 3:15 PM execute the script called start_att.sh 15 09 * * /u54/jobs/done_att.sh 45 15 * *... (1 Reply)
Discussion started by: ted
1 Replies

10. UNIX for Advanced & Expert Users

not running in cron

I have written a shell script and when i run it from shell prompt it runs fine but in the cron it only runs partially. That means cron is working fine. there is a command which i am using in the script which doesn't run at all. That comman uses different user privileges like ptadmin i am not... (4 Replies)
Discussion started by: ajnabi
4 Replies
Login or Register to Ask a Question