'Updates any new or changed cron definitions.'

def UpdateCron(self):

    if self.args:
        self.parser.error('Expected    a    single    <directory>    argument.')
    rpcserver = self._GetRpcServer()
    cron_yaml = self._ParseCronYaml(self.basepath)
    if cron_yaml:
        cron_upload = CronEntryUpload(rpcserver, cron_yaml, self.error_fh)
        cron_upload.DoUpload()
    else:
        print >>self.error_fh, 'Could    not    find    cron    configuration.    No    action    taken.'
