Running BG Jobs from cron..

From: Wayne Sweatt <sweatt_at_dps.state.nm.us>
Date: Wed, 09 Dec 1998 11:28:46 -0700

DU Guys,

  I've had this problem before ( about a year ago):
I startup some processes which are supposed to start up and run in the background "forever".
The script (csh) which starts these processes&. Since there is no conrolling terminal when cron runs
this script, it causes an error, and I get the following message in my email from cron:

"Warning: no access to tty; thus no job control in this shell..."
I've tried "nohup'ing it from my script, but that doesn't work.

What's the trick here with cron running a script which starts background jobs so they don't exit along with cron?

Thanks.

P.S.: Running DU 4.0B on AlphaServer 2100. The processes are compiled C binaries.

***********************
Wayne Sweatt
Principal Software Analyst
Litton / PRC
505.827.9288
***********************
Received on Wed Dec 09 1998 - 18:29:04 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT