def METHOD_NAME(machine_parameters, number_of_workers, number_of_machines):
    workers = int(number_of_workers) / int(number_of_machines)
    try:
        x = 0
        for parameters in machine_parameters:
            # create a job service
            js = rs.job.Service(parameters[1])
            # describe our job
            jd = rs.job.Description()
            jd.total_cpu_count   = workers
            jd.working_directory = parameters[2]
            jd.executable        = "/bin/bash"
            jd.arguments         = ['worker.sh', parameters[3], parameters[4],
                                    redis_list, "worker" + str(x), master_sftp,
                                    parameters[5], workers]
            jd.error             = "master_err.stderr"
            # create the job (state:New)
            job = js.create_job(jd)
            job.run()
            jobs.append(job)
    except rs.SagaException as ex:
        print("An error occured during job execution: %s" % (str(ex)))
        sys.exit(-1)