Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 02-07-2006, 06:11 AM   #1
Registered: Oct 2004
Location: Portugal
Distribution: Debian, Slackware
Posts: 78

Rep: Reputation: 15
defunct processes in cron

I have a cronjob that starts a shell script at 00:00 of every day. After running, the process keeps in defunct state. I've read that this is in consequence of the parent not killing the child process. The parent process here it's the cron.
Any ideia how can I prevent this?
Old 02-07-2006, 02:59 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Did you put a logout command at the end of the script? It couldn't hurt.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 02:58 AM
defunct processes appearing...and won't die! Axion Linux - Software 1 03-31-2004 12:43 PM
cron job <defunct> error? existo Slackware 7 01-21-2004 04:39 PM
Crond running to many processes <defunct> tpfraz Linux - General 1 01-13-2004 08:03 AM
processes showing defunct jpbarto Linux - Software 2 11-05-2003 11:15 AM

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration