3 stable releases
2.3.0 | May 12, 2024 |
---|---|
2.2.1 | May 9, 2024 |
2.2.0 | May 6, 2024 |
#698 in Command line utilities
383 downloads per month
110KB
2.5K
SLoC
cronrunner
Run cron jobs manually.[^1]
# 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
System-wide
$ git clone https://github.com/qrichert/cronrunner.git
$ cd cronrunner
$ make build
$ sudo make install
Through Cargo
cargo install --git https://github.com/qrichert/cronrunner.git
[^1]: cronrunner used to be a Python project, see 1.1.4.