7 stable releases

2.7.0 Aug 10, 2024
2.6.0 Jul 22, 2024
2.5.0 Jun 26, 2024
2.3.0 May 12, 2024

#984 in Command line utilities

Download history 128/week @ 2024-05-11 11/week @ 2024-05-18 1/week @ 2024-05-25 89/week @ 2024-06-15 175/week @ 2024-06-22 22/week @ 2024-06-29 106/week @ 2024-07-20 22/week @ 2024-07-27 112/week @ 2024-08-10 4/week @ 2024-08-17

117 downloads per month

GPL-3.0-or-later

125KB
3K SLoC

cronrunner

license: GPL v3+ GitHub Tag crates.io GitHub Actions Workflow Status

Run cron jobs manually.[^1]

cronrunner

# m h  dom mon dow   command

@reboot /usr/bin/bash ~/startup.sh

## Track disk space.
30 4 * * * echo $(date) $(df -h | grep "/dev/sda3") >> .disk-space.txt

FOO=:)
0 12 * * * echo $FOO

### Housekeeping

## Prune dangling Docker images.
@daily docker image prune --force

Installation

Directly

$ wget https://github.com/qrichert/cronrunner/releases/download/X.X.X/cronrunner-X.X.X-xxx
$ sudo install ./cronrunner-* /usr/local/bin/cronrunner
$ sudo ln -s /usr/local/bin/cronrunner /usr/local/bin/cr

Manual Build

System-wide

$ git clone https://github.com/qrichert/cronrunner.git
$ cd cronrunner
$ make build
$ sudo make install

Through Cargo

cargo install cronrunner
cargo install --git https://github.com/qrichert/cronrunner.git

[^1]: cronrunner used to be a Python project, see 1.1.4.

No runtime deps