Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

cron job starts new cron proccess

Solaris


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 09-25-2007   -   Original Discussion by ron76
ron76's Unix or Linux Image
ron76 ron76 is offline
Registered User
 
Join Date: Sep 2007
Last Activity: 25 September 2007, 10:40 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Sponsored Links
    #2  
Old Unix and Linux 09-25-2007   -   Original Discussion by ron76
blowtorch's Unix or Linux Image
blowtorch blowtorch is offline Forum Advisor  
AFK
 
Join Date: Dec 2004
Last Activity: 1 July 2016, 6:18 AM EDT
Location: UK
Posts: 2,351
Thanks: 0
Thanked 6 Times in 6 Posts
Check this post. Do you have a similar problem? The post has the solution.
Sponsored Links
    #3  
Old Unix and Linux 09-25-2007   -   Original Discussion by ron76
ron76's Unix or Linux Image
ron76 ron76 is offline
Registered User
 
Join Date: Sep 2007
Last Activity: 25 September 2007, 10:40 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
I fixed the problem. Actually the problem was /var/spool/postfix/* ownership and permissions.

Thanks
    #4  
Old Unix and Linux 05-12-2008   -   Original Discussion by ron76
harryjo's Unix or Linux Image
harryjo harryjo is offline
Registered User
 
Join Date: Mar 2008
Last Activity: 17 November 2008, 5:13 AM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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.
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
Running Shell Script in the cron, background proccess blacksteel1988 Shell Programming and Scripting 0 11-03-2011 04:31 PM
User entry in both cron.allow and cron.deny ksvaisakh Solaris 5 12-25-2009 01:39 PM
Cron and Pseudo-Cron dingusmcghee UNIX for Dummies Questions & Answers 1 01-31-2008 12:58 PM
CRON usage for CRON job skyineyes UNIX for Dummies Questions & Answers 1 01-17-2008 10:17 AM
AIX and cron logs filtering ?: /etc/cronlog.conf, /var/adm/cron/log Keith Johnson AIX 0 01-09-2008 08:32 PM



All times are GMT -4. The time now is 02:48 PM.