pilosus / dienstplan

Slack bot app for duty rotations
https://dienstplan-slack.pilosus.org
Other
21 stars 2 forks source link

[FEATURE] Explicit schedule execution #97

Closed pilosus closed 1 year ago

pilosus commented 1 year ago

Is your feature request related to a problem? Please describe. When a scheduling worker executes a scheduled command, it's done "silently". The bot just sends a message of the executed command, but never tells it's done so because of the schedule. It infringes the principle of least surprise.

Describe the solution you'd like Send an extra message to the chat before executing a scheduled command, e.g.

message 1: Executing `<executable>` with `<crontab>` schedule
message 2: <results of execution>