title: How do I increase timeout for a cronjob/crontab?
body: <p>I have written a script that gets data from <a href="http://lucene.apache.org/solr/" rel="noreferrer">solr</a> for which date is within the specified period, and I run the script using as a daily cron.</p>
  
  <p>The problem is the cronjob does not complete the task. If I manually run the script (for the same time period), it works well. If I reduce the specified time period, the script runs from the cron as well. So my guess is cronjob is timing out while running the script is there is much data to process.</p>
  
  <p>How do I increase the timeout for cronjob?</p>
  
  <p>PS - 1. The script I am running in cronjob is a bash script which runs a python script.</p>