still get a <defunct> using a python script in the crontab

martijn at gamecreators.nl martijn at gamecreators.nl
Wed Sep 19 11:02:57 EDT 2007


On 19 sep, 16:50, Zentrader <zentrad... at gmail.com> wrote:
> > If I run the command /usr/sbin/program_prgchk everything works (no
> > <defunct> process)
> > But when I use it in the crontab I get a <defunct> process
>
> The crontabs file on my system is stored in /var/spool/cron/
> crontabs/.  It appears you are checking the wrong file.  Try a
> "crontab -e" from the command line and compare it to the contents in
> the /etc/crontab file.

The crontab is working because I can see that he started the
os.system('/usr/sbin/program_reseller') AND a <defunct> process (what
I can only kill by killing the '/usr/sbin/program_reseller'




More information about the Python-list mailing list