The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unable to bring up Sun OS mayewil UNIX for Dummies Questions & Answers 2 10-26-2006 12:06 PM
how to get background job to foreground sandilya Shell Programming and Scripting 4 02-02-2006 07:29 AM
bring up GUI on solaris Anant SUN Solaris 1 11-08-2005 08:38 AM
Execute SAS Foreground terala Shell Programming and Scripting 0 10-21-2005 12:50 PM
set background/foreground color in .profile dvella UNIX for Dummies Questions & Answers 3 08-14-2005 04:12 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-05-2008
Registered User
 

Join Date: Jan 2005
Posts: 212
Stumble this Post!
Bring a cron job to foreground

Hi,

Is there any way to associate a job started by cron to a terminal and bring it to foreground.

Thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-06-2008
Registered User
 

Join Date: Dec 2007
Posts: 255
Stumble this Post!
no. you will need to capture your output to a file.
Reply With Quote
  #3 (permalink)  
Old 05-06-2008
Registered User
 

Join Date: Jan 2005
Posts: 212
Stumble this Post!
That is already in place.

Just wondering if there is some option ....
Reply With Quote
  #4 (permalink)  
Old 05-06-2008
Registered User
 

Join Date: Mar 2006
Location: Ahmedabad
Posts: 115
Stumble this Post!
Use atd instead of crond

If simple "at" don't work then think of some combined logic. Most probably you should be able to achieve your task. Good luck!!!
Reply With Quote
  #5 (permalink)  
Old 05-07-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
Stumble this Post!
Wicked idea: run it in a screen(1) from cron, and see if you can attach to that from a terminal?
Reply With Quote
  #6 (permalink)  
Old 05-07-2008
Registered User
 

Join Date: Jan 2005
Posts: 212
Stumble this Post!
Quote:
Originally Posted by era View Post
Wicked idea: run it in a screen(1) from cron, and see if you can attach to that from a terminal?


Means ???
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0