Go Back   The UNIX and Linux Forums > Operating Systems > Solaris
google site



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.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Display Modes
  #8  
Old 12-04-2009
Registered User
 

Join Date: Aug 2009
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Nah, you're right. I didn't even notice this was the Solaris group. Sorry for the noise!
Sponsored Links
  #9  
Old 12-07-2009
Registered User
 

Join Date: Apr 2009
Location: Chennai
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Hi all,

That was a very relevant info which i too was searching.
However can someone explain what exactly does the "&&" deonte in "job1 && job2 && job3".
How does Solaris understand that job2 has to be done after job1?

If we were to run it in command line job1;job2;job3 would do. Will the same run in cron?

HG
  #10  
Old 12-07-2009
ɹǝsn sıɹɐlosuǝdo
 

Join Date: Dec 2007
Location: Paris
Posts: 2,312
Thanks: 0
Thanked 24 Times in 22 Posts
"&&" is more restrictive and a usually a better choice than ";"

In the former case, the next job is launched only if the previous one succeeded while in the second one, it is launched regardless of the previous one exit status.

Last edited by jlliagre; 12-07-2009 at 05:53 AM..
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cron jobs... RubinPat UNIX for Advanced & Expert Users 2 03-17-2009 02:45 AM
cron jobs dannyd Linux 1 02-26-2008 04:35 AM
Cron jobs ajadaun HP-UX 5 10-15-2007 11:14 AM
Cron Jobs lewisoco Solaris 6 09-04-2005 11:14 AM
CRON Jobs eludlow UNIX for Dummies Questions & Answers 4 05-28-2004 08:24 PM



All times are GMT -4. The time now is 07:35 AM.