GithubHelp home page GithubHelp logo

slack-cron's Introduction

slack-cron

Build Status

cron style message scheduling for slack

Getting started

1. Create Bot and Slash Command on Slack

This app needs both of Bot and Slash Command.

Create them from here:
https://{your-team}.slack.com/apps/manage/custom-integrations

2. Deploy to your heroku

Deploy

Following 2 envvars are required.

  • SLACK_BOT_TOKEN
  • SLACK_SLASH_COMMAND_TOKEN

3. Add job for Heroku Scheduler

slack-cron automatically installs Heroku Scheduler on the first deploying to your heroku.

To keep Heroku awake, you should add a job like following for Every 10 minutes.

curl -s -d "" {your-app-name}.herokuapp.com >/dev/null 2>&1

image

4. Invite your Bot to the channel

image
image

Usage

image
image
image
image
image
image

In detail

  • add can be aliased new.
  • list can be aliased ls or show.
  • remove can be aliased rm, delete or del.
  • See the documentation of Message Formatting to learn about that.

slack-cron's People

Stargazers

Matthew Abrams avatar Moses Yeung avatar Himanshu avatar Michael Warkentin avatar Hitoshi Nakashima avatar Tadashi Shigeoka avatar Clay avatar Tomek Wiszniewski avatar Teddy Jimenez avatar nobe4 avatar Yasuhiro Manai avatar Sven Bendel avatar Henrik Albrechtsson avatar NexHealth avatar Jamie Lowry avatar

Watchers

James Cloos avatar Takashi Kanemoto avatar  avatar

slack-cron's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.