def get_timeout(run_type):
    """Get timeout for a each run type - daily, hourly etc

    :param run_type: Run type
    :type run_type: str
    :return: Number of seconds the tool allowed to wait until other instances
      finish
    :rtype: int
    """
    timeouts = {
        'hourly': 3600 / 2,
        'daily': 24 * 3600 / 2,
        'weekly': 7 * 24 * 3600 / 2,
        'monthly': 30 * 24 * 3600 / 2,
        'yearly': 365 * 24 * 3600 / 2
    }
    return timeouts[run_type]