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?