【文件属性】:
文件名称:notifyme:在bash中执行命令并等待完成以通过松弛发送通知
文件大小:36KB
文件格式:ZIP
更新时间:2021-05-11 07:02:01
slack bash golang Go
提醒我
在bash中执行命令并等待完成执行以通过松弛发送通知。 最好花大量时间来完成自定义作业的时间,并在完成时收到消息并从中获利,这是很好的选择。
安装
在终端提示下粘贴:
bash < <( curl -s https://raw.githubusercontent.com/swapbyt3s/notifyme/master/scripts/install.sh )
配置
在执行命令之前,在bash上定义此环境变量。
export NOTIFYME_SLACK_TOKEN=x35QCtUUQ * B376M2D8F.JntD801gqXwOMTYuZTdGhNQ0
export NOTIFYME_SLACK_CHANNEL=alerts
用法
很好用:
./notifyme " mysqldump --login-path=local foo | gzip > backup.tar.
【文件预览】:
notifyme-master
----.gitignore(247B)
----main.go(5KB)
----scripts()
--------install.sh(816B)
--------build.sh(83B)
--------release.sh(1KB)
----README.md(924B)
----assents()
--------slack.png(32KB)