Skip to content

This script will help you to send slack scheduled notification (message)

Notifications You must be signed in to change notification settings

thedevsaddam/slack-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack notifier

This script will help you to send slack scheduled notification (message) like daily stand up meeting, prayer reminder etc.


Installation

Easy Way

Download the slack-notifier-installer.sh file and run it with root permission. It will do all the job for you.

Hard Way

Open terminal ( ctrl+alt+t ) and go to Downloads directory

cd ~/Downloads/

Clone the repository

git clone https://github.com/thedevsaddam/slack-notifier.git

or download the zip file manually and unzip to Downloads directory

Change permission to 777

sudo chmod -R 777 notifier

Open crontab in edit mode

crontab -e

Copy the line below and paste

* * * * * python /home/YOUR_USER_NAME/Downloads/slack-notifier/notifier.py

Replace YOUR_USER_NAME by your user name.

Note: To get username type whoami in interminal

Configuration

  1. Install requests python module, if you don't already have that
pip install requests
  1. Create a slack bot user.
  2. Collect the access token.
  3. Open config.py and set the slack access token and other information like channel name, user name.
  4. Adjust the notifier time.

Contributors

TODO

  • Broadcast message to multiple channel

Thank you :)

About

This script will help you to send slack scheduled notification (message)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •