The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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 03:06 PM
how to get background job to foreground sandilya Shell Programming and Scripting 4 02-02-2006 11:29 AM
bring up GUI on solaris Anant SUN Solaris 1 11-08-2005 12:38 PM
Execute SAS Foreground terala Shell Programming and Scripting 0 10-21-2005 03:50 PM
set background/foreground color in .profile dvella UNIX for Dummies Questions & Answers 3 08-14-2005 07:12 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-06-2008
vibhor_agarwali vibhor_agarwali is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 259
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
  #2 (permalink)  
Old 05-06-2008
frank_rizzo frank_rizzo is offline Forum Advisor  
Resident BOFH
  
 

Join Date: Dec 2007
Posts: 427
no. you will need to capture your output to a file.
  #3 (permalink)  
Old 05-07-2008
vibhor_agarwali vibhor_agarwali is offline
Registered User
  
 

Join Date: Jan 2005
Posts: 259
That is already in place.

Just wondering if there is some option ....
  #4 (permalink)  
Old 05-07-2008
sumitpandya sumitpandya is offline
Registered User
  
 

Join Date: Mar 2006
Location: Ahmedabad
Posts: 125
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!!!
  #5 (permalink)  
Old 05-07-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

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

Join Date: Jan 2005
Posts: 259
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 ???
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On




All times are GMT -4. The time now is 08:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0