Cron

I didn't see an exit anywhere in the cron script. Not being familiar with python syntax, I checked on the web, but it seems one is not required.

The problem is, my crons sit around forever and never exit. I'm pretty sure this is not normal behavior, but what could be wrong?

# ps -auxwwww | grep "broctl cron"
root 58597 0.0 0.1 48332 10900 ?? Is 9:10PM 0:00.17 /usr/local/bin/python2.7 /usr/local/bin/broctl cron
root 58621 0.0 0.1 48332 10900 ?? Is 9:15PM 0:00.12 /usr/local/bin/python2.7 /usr/local/bin/broctl cron
root 58633 0.0 0.1 48332 10900 ?? Is 9:20PM 0:00.17 /usr/local/bin/python2.7 /usr/local/bin/broctl cron
root 58657 0.0 0.1 48332 10900 ?? Is 9:25PM 0:00.15 /usr/local/bin/python2.7 /usr/local/bin/broctl cron
root 58669 0.0 0.1 48332 10900 ?? Is 9:30PM 0:00.17 /usr/local/bin/python2.7 /usr/local/bin/broctl cron
root 58693 0.0 0.1 48332 10900 ?? Is 9:35PM 0:00.12 /usr/local/bin/python2.7 /usr/local/bin/broctl cron
root 58705 0.0 0.1 48332 10900 ?? Is 9:40PM 0:00.17 /usr/local/bin/python2.7 /usr/local/bin/broctl cron
root 58729 0.0 0.1 48332 10900 ?? Is 9:45PM 0:00.17 /usr/local/bin/python2.7 /usr/local/bin/broctl cron
root 58741 0.0 0.1 48332 10900 ?? Is 9:50PM 0:00.12 /usr/local/bin/python2.7 /usr/local/bin/broctl cron
root 58768 0.0 0.1 48332 11052 ?? Is 9:55PM 0:00.12 /usr/local/bin/python2.7 /usr/local/bin/broctl cron
root 58797 0.0 0.1 48332 11052 ?? Is 10:00PM 0:00.13 /usr/local/bin/python2.7 /usr/local/bin/broctl cron
root 59888 0.0 0.1 48332 11052 ?? Is 10:05PM 0:00.17 /usr/local/bin/python2.7 /usr/local/bin/broctl cron
root 59988 0.0 0.1 48332 11052 ?? Is 10:10PM 0:00.17 /usr/local/bin/python2.7 /usr/local/bin/broctl cron
root 60013 0.0 0.1 48332 11052 ?? Is 10:15PM 0:00.12 /usr/local/bin/python2.7 /usr/local/bin/broctl cron

The problem is, my crons sit around forever and never exit.

There should be a debug.log in the spool directory that may provide
some clue. Kill all the running broctls, delete the old debug.log,
then run "broctl cron" from the command line. The new debug.log should
then show where it's hanging (feel free to send if you can't figure it
out)

Robin