If you install or deinstall software on the client, this (de)install job will be saved in the clientjobs table. The new job is added with the status "waiting" and after succesful finish it will get the status "done". Every job can have serveral parameters, e.g. if you want to format a partition, the format job should know which partition to format. This infomation is stored as the parameter. And of course each job should know the name of the client it is for. To get the jobs in the correct execution order, there are two values: id and priority. Priority has to do with the type of the job, a special job like the "hardware scan" gets the priority 0 and should be executed before all other jobs. With the priority the order of execution is set, lower priorities are executed earlier. The second value "id" is the order of job creation. Jobs of the same priority will get executed in the order of creation. Remember: priority is mightier than the id value. If the priority is lower the job will be executed earlier while the id might be higher.
- id: the id of the job
- client: name of the client, the job is for.
- package: name of the package
- priority: the priority of the package
- status: status of the job: waiting, done
- params: the parameters for the job
root
2018-05-08