surplus/termux-s+ow-setup-cron
Mark Joshwel 30d23d61cc
s+ow: do first sleep 30 in script itself if SPOW_CRON=y (#50)
* deps: add shfmt and shellcheck

* s+ow: also add time took to run information
2023-10-30 14:21:07 +00:00

5 lines
180 B
Bash

#!/bin/sh
sv-enable crond
printf "59 * * * *\tJID_NOMINAL_TARGET=\"\" JID_ERRORED_TARGET=\"\" LOCATION_PRIORITISE_NETWORK=n SPOW_CRON=y ~/.local/bin/s+ow\n" | crontab -
crontab -e