From 01c540750a54fb9762aa1ec33ea86bd7ebf529ce Mon Sep 17 00:00:00 2001 From: Mark Joshwel <89562141+markjoshwel@users.noreply.github.com> Date: Mon, 30 Oct 2023 22:23:43 +0800 Subject: [PATCH] docs: remove sleep 30 (#51) --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index da33da6..17ea5b1 100644 --- a/README.md +++ b/README.md @@ -141,11 +141,16 @@ export PATH="$HOME/.local/bin:$PATH" and add the following text: ```text - 59 * * * * (sleep 30; JID_NOMINAL_TARGET="" JID_ERRORED_TARGET="" LOCATION_PRIORITISE_NETWORK=n SPOW_CRON=y ~/.local/bin/s+ow) + 59 * * * * JID_NOMINAL_TARGET="" JID_ERRORED_TARGET="" LOCATION_PRIORITISE_NETWORK=n SPOW_CRON=y ~/.local/bin/s+ow ``` - this will run s+ow every hour, thirty seconds before a new hour. modify the variables - as per your needs. see [using s+ow](#using-sow) for more information. + this will run s+ow every hour, a minute before the hour. + + surplus when given `SPOW_CRON=y` will detect that it is being run as a cron job, and + delay itself appropriately, thus the job is ran at `59` instead of `0`. + + modify the variables as per your needs. + see [using s+ow](#using-sow) for more information. #### using s+ow