add launch.sh to run it periodically
This commit is contained in:
@@ -8,12 +8,9 @@ STEAM_KEY=<ur-steam-key-api>
|
|||||||
STEAM_USERID64=<<ur-userid>>
|
STEAM_USERID64=<<ur-userid>>
|
||||||
```
|
```
|
||||||
|
|
||||||
Run it with cron job
|
Launch it
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
crontab -e
|
chmod +x ./launch.sh
|
||||||
```
|
./launch.sh 30 # in minutes
|
||||||
|
|
||||||
```shell
|
|
||||||
*/30 * * * * /bin/bash -c 'set -a; source $HOME/autorun-steam-game/.env; set +a; exec $HOME/autorun-steam-game/run.sh' >> $HOME/autorun-steam-game/out.log 2>&1
|
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user