title: cronjob being kill before finish
body: <p>I create a cronjob for periodically run the executatble compile from python.</p>
  <pre><code>20 23 * * * .../TestInno/inno_main &gt;&gt;.../TestInno/Log/Inno_cronlog_`date +\%Y\%m\%d\%H\%M\%S`.log*
  </code></pre>
  <p>the executable consisted of 2 task</p>
  <ol>
  <li>update database</li>
  <li>sent email notification</li>
  </ol>
  <p>When I run the executable in command line, it does perfectly.
  however, the cronjob only does task 1 only (from log file)</p>
  <p>Since there's few minute pause while connecting to smtp server for sending email. I suspect that the cronjob think the job's done, so kills the task.
  Is it right?
  If so, how to prevent it?</p>