This script will help you to send slack scheduled notification (message) like daily stand up meeting, prayer reminder etc.
Download the slack-notifier-installer.sh file and run it with root permission. It will do all the job for you.
Open terminal ( ctrl+alt+t ) and go to Downloads directory
cd ~/Downloads/Clone the repository
git clone https://github.com/thedevsaddam/slack-notifier.gitor download the zip file manually and unzip to Downloads directory
Change permission to 777
sudo chmod -R 777 notifierOpen crontab in edit mode
crontab -eCopy the line below and paste
* * * * * python /home/YOUR_USER_NAME/Downloads/slack-notifier/notifier.pyReplace YOUR_USER_NAME by your user name.
Note: To get username type whoami in interminal
- Install
requestspython module, if you don't already have that
pip install requests
- Create a slack bot user.
- Collect the access token.
- Open
config.pyand set theslack access tokenand other information likechannel name,user name. - Adjust the notifier time.
- Broadcast message to multiple channel
Thank you :)