cron job starts new cron proccess


 
Thread Tools Search this Thread
Operating Systems Solaris cron job starts new cron proccess
# 1  
Old 09-25-2007
cron job starts new cron proccess

I run cron in solaris 10 zone. One cron job which syncing files to nfs mounted on container, creates after finishing another cron proccess(/usr/sbin/cron), and after 100 existing cron proccesses next cron job will not start. It's too weird for me, I'm not able to solve this problem. Theoretically only one cron proccess is possible.

Thank You.
# 2  
Old 09-25-2007
Check this post. Do you have a similar problem? The post has the solution.
# 3  
Old 09-25-2007
I fixed the problem. Actually the problem was /var/spool/postfix/* ownership and permissions.

Thanks
# 4  
Old 05-12-2008
need help on cron.

Hi folks, I am new into working on UNIX. I wanted to run a .sh script daily(say at 10 AM). I came to know about setting a cron job for this. I did go through the tutorial on how to add a cron job. This is what i did:

vi update.cron

MAILTO="myid@yahoo.com"
0 10 * * * somescript.sh >>/dev/null 2>&1

then saved the file.
then i did,

crontab update.cron.

question is :
1. will this work from any directory, which i'll be working in or i need to go to a specific directory?

2.when i execute crontab -l it does lists the added job but at the stipulated time the script/cron job does not run.Is there any other format or updation in any file that i should be doing.

Thanks a lot in advance.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cron job - Need to run Cron every quarter at particular time

Hi, 1) If some job supposed to run on 1st of every month at 7 AM In cron job when we have a blackout on the 1st ( i.e when 1st falls on a sunday ) how can we make the job run the next business day? 2) How can we run a job on 25th of every quarter 7 AM(jan,apr,jul,oct) And if 25th... (5 Replies)
Discussion started by: System Admin 77
5 Replies

2. Shell Programming and Scripting

Commented cron job -- cron monitoring

Hi I have a requirement to write a shell script,that will check the all commented job in cron job.Please help !! (2 Replies)
Discussion started by: netdbaind
2 Replies

3. 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

4. Shell Programming and Scripting

Running Shell Script in the cron, background proccess

Hi, i was looking for an answer for some trouble im having runing a script in the cron, thing is, that when i run it manually it works just fine. But when cron runs it, it just doenst work. I saw a reply on a similar subject, suggesting that the . .profile worked for you, but im kind of... (0 Replies)
Discussion started by: blacksteel1988
0 Replies

5. UNIX Desktop Questions & Answers

Cron Job

Could some one help to so that I can set up a cron job such that it will check the changes of a particular network folder??? (5 Replies)
Discussion started by: coolmaddy
5 Replies

6. Shell Programming and Scripting

cron job

hi, i have set a cron job to run build in one of the env. it shud basically stop the server,deploy the code and start the server. while starting the server the logs are getting created with the cron account id and not the normal user because of which the server is not coming up. can you please... (4 Replies)
Discussion started by: suryans
4 Replies

7. UNIX and Linux Applications

Help regarding a cron job

Hi, I need to write cron job, which tries to build a project. It would check out code from a repository and then will attempt to build it .The results of the build would show up on a web-page (a table with rows, one for each build, should get updated; a link to the detailed log file; color green... (3 Replies)
Discussion started by: sat411
3 Replies

8. Solaris

cron job

hi, how i woulsd be able to find that my cron job is running or not.. E.g abc (2 Replies)
Discussion started by: sam.whocares
2 Replies

9. Linux

cron job

In my var/log/cron file Im getting this error: Mar 6 11:57:01 intranet crond: (tmp.XXXXGHJVjz) ORPHAN (no passwd entry) Mar 6 11:57:01 intranet crond: (root) RELOAD (cron/root) Mar 6 11:57:01 intranet crond: (tmp.XXXXFqiL6E) ORPHAN (no passwd entry) Im not a pro bu I think the cronjob... (4 Replies)
Discussion started by: dannyd
4 Replies

10. UNIX for Dummies Questions & Answers

CRON usage for CRON job

can anybody explain the usage of CRON for adding a cron job. please provide an example also for better understanding !!! Thanks (1 Reply)
Discussion started by: skyineyes
1 Replies
Login or Register to Ask a Question