Releases · 43 versions
v1.11.0
Added
- Find in the run log. Ctrl+F searches the log of the run you have open, in the web UI and the TUI, even while the run is still printing.
- Select a range of runs with shift+click in the web UI and shift+↑/↓ in the TUI.
- Sort runs by duration, longest or shortest first: from the sort menu in the web UI, and with
oin the TUI, which also gets oldest first. - RunWisp notices when you edit a crontab. After
crontab -e,runwisp status,runwisp list, the TUI and the notification bell name the crontab that changed and say to runrunwisp reload. --no-httponrunwisp daemon,runwispandrunwisp demoruns the daemon without the HTTP port, for servers you only manage from the TUI and the CLI.- A run with no output whose command redirects it (
>> /var/log/backup.log) says where the output went, in the web UI and the TUI. - The TUI lists config warnings in full when you click the header’s warning notice or press
won Home.
Changed
- Readable names for
crontabjobs. A short comment above a job names it (# nightly backupbecomesnightly-backup), and names look pastsleep, a pipedechoand a bareenv. Tasks from user crontabs and/etc/cron.dcarry their source in the name, such asreport-ops, so adding a crontab never renames a job that already runs. Migration: these tasks get their new name once on upgrade, and earlier runs stay under the old name. A[[route]]that still names the old task gets a warning on load; change itsmatch.taskto the new name. runwisp restartworks in Docker. A daemon that isn’t installed as a service restarts in place, in the same process (docker exec <container> runwisp restart), and a foreground daemon stays in its terminal.SIGUSR2does the same.- Quitting the TUI stops the daemon
runwispstarted, instead of asking whether to keep it running in the background. Quitting asks first only when runs are in progress. To keep RunWisp running, install it withrunwisp service installor run it in Docker. - Crontab jobs ending in
>/dev/null 2>&1(or&>/dev/null) run without that redirect, so their output shows in the run’s log. Cron needed it to stop mail, and RunWisp sends none. Therunwisp takeoverplan says how many jobs had it dropped and how many still send their output to a file. - A service whose
docker run --namefinds the name taken by a container started outside RunWisp takes that container over instead of failing with exit 125 in a loop: it attaches to a running one, and removes a stopped one and starts again. - The PHP and JavaScript SDKs put a
.gitignorein their data directory (storage/runwisp,.runwisp), sogit add .no longer commits RunWisp’s database and logs. runwisp importexits 1 when the config it printed or wrote won’t load until fixed, such as a crontab line with a bad schedule. The draft is still printed or written.runwisp demo --no-tuiruns the demo in the foreground until Ctrl+C.- The SDK startup line reads “get the password with:” before the command, and the PHP SDK quotes the path only when it needs quoting.
Security
- Harder to brute-force, harder to lock you out. A browser that has signed in before has its wrong passwords counted on its own instead of per IP, so someone guessing from the same IP or proxy can’t slow down your logins.
- The daemon checks at most 2 passwords at once from new browsers, plus 1 kept for browsers that signed in before, so a login flood from many IP addresses can’t take all the CPU away from your tasks or keep you out. A login that waits more than 10 seconds for its turn gets 503 with
Retry-After. - Signing in with the read-only password no longer clears the count of wrong passwords, so it can’t be used to keep guessing the operator password.
- Wrong API tokens sent in the session cookie to
/api/auth/statuscount toward the API token lockout, like on every other route. - The daemon warns at startup when
RUNWISP_PASSWORDorRUNWISP_VIEWER_PASSWORDis shorter than 12 characters.
Fixed
runwisp takeoverworks in containers and on Alpine. Without systemd as PID 1, it stops before writing anything and lists the steps to do by hand, and the held-jobs banner,runwisp statusandrunwisp import cronsay to dropcron -forcrondfrom the container’s CMD. On Alpine and other BusyBox systems,takeoverandinclude_cronfind the crontabs in/etc/crontabs, and a symlinked directory on a crontab’s path no longer counts as world-writable.- Imported cron jobs run as the right user.
runwisp import cronof a per-user spool crontab (/var/spool/cron/crontabs/www-data) setsuserto its owner, so the jobs no longer run as root. A piped crontab gets a note that its owner is unknown. - “command not found” is spelled out. A run that exits 127 says so next to the exit code, and
runwisp import cronnotes a job whose program isn’t on cron’sPATH(phpin/usr/local/binin the PHP images). A run that couldn’t start shows “didn’t start” instead of exit code -1. - Next run times name their zone. The web UI shows “(14:00 UTC)” when the zone isn’t the browser’s, so a Laravel schedule in UTC, or a daemon in another zone, no longer looks hours off.
runwisp service installanduninstallre-run themselves with sudo, likerunwisp takeover, instead of stopping with a “needs root” error. The system service starts with its generated password already in place, andsudo runwisp passwordprints it.runwisp takeoverno longer runs@rebootjobs a second time on a machine where cron already ran them.runwisp takeoverover SSH prints thessh -Lcommand that opens the dashboard from your machine.- A crontab job for a user whose home directory doesn’t exist (
www-data’s/var/www) runs in/as cron does, instead of failing to start. Other tasks withworking_dir = "~"fail with an error that names the missing home directory. - “Run now” on a running task with
on_overlap = "skip", or on a task whose queue is full, answers 409 with the reason instead of a 500. - Log search finds text that colour codes split, such as a red
error:, and picking a TUI search result older than the loaded part of the log scrolls to it. - When the system service installs a copy of a binary from your home directory, the home copy becomes a link to it, so
runwispandsudo runwisprun the same version. runwisp service uninstallgives cron back even when removing the unit fails.runwisp service statuschecks against the unit’s own settings, so it no longer reports a false mismatch or an unwritable data dir.- Crontab import: the
# m h dom mon dow commandlegend no longer becomes a description, a bare%gets a note to write\%, a README is rejected as not a crontab,0=Sunreads as a job line, and line numbers matchcrontab -lon Debian. - Takeover wording: it lists every job with its task and source and says overlapping runs now queue, a blocked takeover prints only what stops it, without sudo it says to run as root, and
runwisp promoteprints only the steps for your machine. - Quieter
status,reloadandvalidate: no warnings about cron task renames, an emptyMAILTOor jobs starting at the same second. - CLI commands run as a normal user say to use
sudo runwispwhen only the system service runs. Commands that need--yeswithout a terminal say so and change nothing.runwisp logson a task that never ran says so. - The web UI task panel points crontab tasks at the crontab and
sudo runwisp reload, and the tab title follows the page you’re on. - The TUI Home page no longer shifts a row when a notice appears,
runwisp demostarts without a config warning, and the install script points atrunwisp takeoverwhen the machine has cron jobs.
- v1.11.0 latest
- v1.10.0
- v1.9.3
- v1.9.2
- v1.9.1
- v1.9.0
- v1.8.0
- v1.7.1
- v1.7.0
- v1.6.0
- v1.5.1
- v1.5.0
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.1
- v1.0.0
- v0.16.4 pre
- v0.16.3 pre
- v0.16.2 pre
- v0.16.1 pre
- v0.16.0 pre
- v0.15.1 pre
- v0.15.0 pre
- v0.14.0 pre
- v0.13.2 pre
- v0.13.1 pre
- v0.13.0 pre
- v0.12.0 pre
- v0.11.0 pre
- v0.10.0 pre
- v0.9.0 pre
- v0.8.0 pre
- v0.7.0 pre
- v0.6.0 pre
- v0.5.0 pre
- v0.4.0 pre
- v0.3.0 pre
- v0.2.0 pre
- v0.1.2 pre
- v0.1.0 pre