'Parse the crontab file.'

def Parse(self, stat, file_object, knowledge_base):

    _ = knowledge_base
    entries = []
    crondata = file_object.read(100000)
    jobs = crontab.CronTab(tab=crondata)
    for job in jobs:
        entries.append(rdf_cronjobs.CronTabEntry(minute=utils.SmartStr(job.minute), hour=utils.SmartStr(job.hour), dayofmonth=utils.SmartStr(job.dom), month=utils.SmartStr(job.month), dayofweek=utils.SmartStr(job.dow), command=utils.SmartStr(job.command), comment=utils.SmartStr(job.comment)))
    try:
        source_urn = file_object.urn
    except AttributeError:
        source_urn = None
    (yield rdf_cronjobs.CronTabFile(aff4path=source_urn, jobs=entries))
