hacker.js, main.js: added continuous scheduling mode. README.md: update. credits to Mei for helping me figure out how to time the continuous mode and to Kozd for making `sort_by` work with methods.
[?]
May 12, 2020, 10:41 PM
ZNH2OJ3CP2SRIGFJATPNLT7HQ5YNNLP4M2ZVO7QN3P3HSTVJJHOACDependencies
- [2]
SXEJJKPIexecutables: add `--help` flag. hacker.js: change scheduling logic. refactor. kill.js: allow handling more than one server or script at a time. cyclic_weaken.js: add. README.md: update. - [3]
HSNSECD5all: refactor. main.js: fix call to `void_kill_script_named_server_named`. - [4]
NQ22FUSWadd more options to `main.js`. update `README.md`. - [5]
DJDWBCCQadd missing "nop.js". killall.js: rename to kill.js. add `--script` and `--server` options. - [6]
BKG7YVUVmain.js, hacker.js, servers.js, ram.js: refactor. - [7]
ZRPOW4ERhacker.js, lib_time.js: supress error messages. hacker.js: use `getBitNodeMultipliers`. lib_time.js: use `getStats`. README.md: update. - [8]
2BKHJI2Sinit - [9]
P6ZJC2SHhacker.js: normalise factors used in server scoring function. - [*]
Y5OWMCQRall: remove unecessary uses of `exec`. refactor. main.js: add RAM reservation logic. lib_ram.js: renamed to lib_ram_server.js. README.js: update. - [*]
3NFCZ6IPfixed the ram utilisation logic. added flags to `main.js` that can prevent the execution of helpers.
Change contents
- edit in sbin/hacker.js at line 2
* add a function that will make and run a new schedule whilst there is already one running such that the newer schedule continues right after the old one finishes which would circumvent the down time that currently occurs after a schedule finishes running. - replacement in sbin/hacker.js at line 22
void_runner(ns, ...array_arguments) + Date.now()),await void_runner(ns, ...array_arguments) + Date.now()), - edit in README.md at line 40[11.4505][12.7684]
`-f, --discrete`* Run discrete batches instead of continuously. The former mode has downtime but may result in more correctly scheduled jobs compared to the latter. - replacement in README.md at line 64
* SECONDS = The duration of delay between each job, in seconds. Should be a floating-point number > 0. Defaults to 1.* SECONDS = The duration of delay between each job, in seconds. Should be a floating-point number > 0. Defaults to 2.