Skip to content

Commit

Permalink
update image tags
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzeng committed Jun 12, 2022
1 parent 306751d commit 4c877a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

```sh
docker run -it \
hyperbola/ptt-login-bot:v1 -u username -p password
hyperbola/ptt-login-bot:1 -u username -p password
```

以下 cron 會讓機器人在每日 08:10 ~ 08:59 之間隨機進行登入,這樣就不會被 ban。

```crontab
0 0 * * * docker run hyperbola/ptt-login-bot:v1 -u username -p password | at 08:$(( $RANDOM % 50 + 10 ))
0 0 * * * docker run hyperbola/ptt-login-bot:1 -u username -p password | at 08:$(( $RANDOM % 50 + 10 ))
```

## 參數
Expand Down

0 comments on commit 4c877a3

Please sign in to comment.