s+ow,docs: update links and autorun crontab -e (#46)
This commit is contained in:
parent
c1e2b0e1a9
commit
873250b858
13
README.md
13
README.md
|
@ -99,7 +99,7 @@ see [s+ow usage instructions here](#using-sow).
|
||||||
|
|
||||||
```text
|
```text
|
||||||
mkdir -p ~/.local/bin/
|
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
|
chmod +x ~/.local/bin/s+ow
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -229,7 +229,7 @@ you can fake your s+ow messages by either:
|
||||||
1. setup s+ow:
|
1. setup s+ow:
|
||||||
|
|
||||||
```text
|
```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
|
2. restart termux
|
||||||
|
@ -237,11 +237,12 @@ you can fake your s+ow messages by either:
|
||||||
3. setup cron job:
|
3. setup cron job:
|
||||||
|
|
||||||
```text
|
```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.
|
the script will run `crontab -e`, and you can then edit the variables as per your
|
||||||
see [using s+ow](#using-sow) for more information.
|
needs.
|
||||||
|
see [using s+ow](#using-sow) for more information.
|
||||||
|
|
||||||
## usage
|
## usage
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
sv-enable crond
|
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 -
|
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
|
||||||
|
|
Loading…
Reference in a new issue