runners.scheduler - vladzaharia/bitburner GitHub Wiki
▸ main(ns): Promise<void>
Automatically execute a parallelized HWG cycle on all availbe hosts.
On each pool, will:
- Split hackable hosts by workers in pool
- Check if any host is low on money
- Execute 80W/20G (if money needed) or 25H/25W/50G scripts on hosts in pool
Pools:
- Personal worker pools, ps-worker[0..n]
- Rooted server pools, with
HOSTS_PER_POOL - ["home"]
export
example
run /runner/scheduler.js| Name | Type | Description |
|---|---|---|
ns |
NS |
The Netscript object. |
Promise<void>