Added "AUTO_RECEIVE_SCHEDULE" parameter to docker-compose.yml file

* signal-cli recommends to call "receive" on a regular basis. In case
  "receive" is not already called periodically by the user application,
  add the option to invoke it at a specific schedule from within the
  docker container.

  The "AUTO_RECEIVE_SCHEDULE" parameter takes a cron schedule expression
  and calls "receive" at the given time.

see #129
This commit is contained in:
Bernhard B
2021-05-11 18:35:24 +02:00
parent 5153de7319
commit 887eff056b
5 changed files with 75 additions and 11 deletions

View File

@@ -13,6 +13,7 @@ require (
github.com/gofrs/uuid v3.3.0+incompatible
github.com/h2non/filetype v1.1.0
github.com/mailru/easyjson v0.7.1 // indirect
github.com/robfig/cron/v3 v3.0.1
github.com/sirupsen/logrus v1.6.0
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e
github.com/swaggo/files v0.0.0-20190704085106-630677cd5c14