'>>> job = Job(params = "count:1;bysecond:1;byminute:1,2,4,5")
>>> job.get_params()
{\'count\': 1, \'byminute\': [1, 2, 4, 5], \'bysecond\': 1}'

def get_params(self):

    if (self.params is None):
        return {}
    params = self.params.split(';')
    param_dict = []
    for param in params:
        param = param.split(':')
        if (len(param) == 2):
            param = (str(param[0]), [int(p) for p in param[1].split(',')])
            if (len(param[1]) == 1):
                param = (param[0], param[1][0])
            param_dict.append(param)
    return dict(param_dict)
