Home > bitburner > OfficeAPI > setAutoJobAssignment
Set the auto job assignment for a job
Signature:
setAutoJobAssignment(divisionName: string, cityName: string, job: string, amount: number): boolean;| Parameter | Type | Description |
|---|---|---|
| divisionName | string | Name of the division |
| cityName | string | Name of the city |
| job | string | Name of the job |
| amount | number | Number of employees to assign to that job |
Returns:
boolean
true if the employee count reached the target amount, false if not