Skip to content

FriedrichVoelker/rocket-chat-scheduler

Repository files navigation

Rocket.Chat Message Scheduler

Installation

  • Clone the repo
  • Copy config.example.json into config.json
  • Edit the config.json
  • Run docker-compose up -d

docker-compose.yml

services:
  bot:
    build: .
    volumes:
      - "/etc/timezone:/etc/timezone:ro"
      - "/etc/localtime:/etc/localtime:ro"

Added /etc/timezone & /etc/localtime to have the container use the timezone of the host.

config.json

"scheduleName": {
	"channel": "#GENERAL", //#channel, @user
		"messages": ["Nachricht1","Nachricht2"], // Nachricht wird zufällig ausgewählt
		"every": { 
			"value":  { // Bei min nur Zahl
				"day": 5, // Montag: 1, Dienstag: 2, Mittwoch: 3, Donnerstag: 4, Freitag: 5, Samstag: 6, Sonntag: 0, Täglich: daily
				"at": "08:38" // HH:mm	
			},
			"type": "day" // day, minute
		}
	}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published