From 873250b858b467c83e15586bad294f7d694582eb Mon Sep 17 00:00:00 2001 From: Mark Joshwel <89562141+markjoshwel@users.noreply.github.com> Date: Mon, 30 Oct 2023 01:55:12 +0800 Subject: [PATCH] s+ow,docs: update links and autorun crontab -e (#46) --- README.md | 13 +++++++------ termux-s+ow-setup-cron | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 03843ee..da33da6 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ see [s+ow usage instructions here](#using-sow). ```text mkdir -p ~/.local/bin/ - curl https://raw.githubusercontent.com/markjoshwel/surplus/s+ow/s+ow > ~/.local/bin/s+ow + curl https://raw.githubusercontent.com/markjoshwel/surplus/main/s+ow > ~/.local/bin/s+ow chmod +x ~/.local/bin/s+ow ``` @@ -229,7 +229,7 @@ you can fake your s+ow messages by either: 1. setup s+ow: ```text - curl https://raw.githubusercontent.com/markjoshwel/surplus/s+ow/termux-s+ow-setup | sh + curl https://raw.githubusercontent.com/markjoshwel/surplus/main/termux-s+ow-setup | sh ``` 2. restart termux @@ -237,11 +237,12 @@ you can fake your s+ow messages by either: 3. setup cron job: ```text - curl https://raw.githubusercontent.com/markjoshwel/surplus/s+ow/termux-s+ow-setup-cron | sh + curl https://raw.githubusercontent.com/markjoshwel/surplus/main/termux-s+ow-setup-cron | sh ``` - -you can then run `crontab -e` to edit the variables as per your needs. -see [using s+ow](#using-sow) for more information. + + the script will run `crontab -e`, and you can then edit the variables as per your + needs. + see [using s+ow](#using-sow) for more information. ## usage diff --git a/termux-s+ow-setup-cron b/termux-s+ow-setup-cron index 396f6b5..bc9a9bb 100644 --- a/termux-s+ow-setup-cron +++ b/termux-s+ow-setup-cron @@ -1,3 +1,4 @@ #!/bin/sh sv-enable crond printf "59 * * * *\t(sleep 30; JID_NOMINAL_TARGET=\"\" JID_ERRORED_TARGET=\"\" LOCATION_PRIORITISE_NETWORK=n SPOW_CRON=y ~/.local/bin/s+ow)\n" | crontab - +crontab -e