From: Juhani Jaakola <Juhani.Jaakola@Hansel.FI>
To: John McNulty <jm@uvo.dec.com>
Subject: Re: cron dies in Digital OSF1
Date: 1997/09/15 [thread overview]
Message-ID: <341D3B1E.37BF@Hansel.FI> (raw)
In-Reply-To: 3419039E.CB0209F5@uvo.dec.com
John McNulty wrote:
>
> Juhani Jaakola wrote:
> >
> > John McNulty wrote:
> > > My guess, you are taking backup dumps from inside a cron job. At
> > > V2.0 there was a bug in dump/rdump where if they abort improperly,
> > > they would kill the parent process. Hense, it cron is the parent
> > > process, bye-bye cron. The was a patch for this.
> >
> > Yes that's indeed the case. Thanks for help!
> >
> > If I start the script that does the dump with nohup, does that give me a
> > work-around?
>
> Sounds plausible, try it and see. If not, move your dump commands
> into a separate script, and run '/bin/sh scriptname &' from cron.
Very strange, but nohup doesn't help! I have the dump command in a
script, which I call from my crontab with "nohup scriptname > logname
2>&1 &".
I use /bin/sh as my shell and I think cron uses that also. So the parent
process of dump is /bin/sh or nohup, not cron, right? Perhaps dump kills
the whole process group (but shouldn't nohup break that link?) or
somehow cron and dump are linked - perhaps via stdin, which isn't
redirected?
next prev parent reply other threads:[~1997-09-15 4:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-04 4:00 cron dies in Digital OSF1 Juhani Jaakola
1997-09-08 4:00 ` John McNulty
1997-09-09 4:00 ` Matt Beare
1997-09-10 4:00 ` John McNulty
1997-09-10 4:00 ` Dan Pop
1997-09-11 4:00 ` Dan Duncan
1997-09-12 4:00 ` Matthias Dolder
1997-09-15 4:00 ` Mark Greene
1997-09-16 4:00 ` John McNulty
1997-09-12 4:00 ` Tim Llewellyn
1997-09-18 4:00 ` Luis Santos
1997-09-12 4:00 ` Juhani Jaakola
1997-09-12 4:00 ` John McNulty
1997-09-15 4:00 ` Juhani Jaakola [this message]
[not found] ` <341D4741.74182675@uvo.dec.com>
1997-09-30 4:00 ` Stephen Carpenter
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox