piotrpress / slack-tail
A simple command line tool to tail a file and send the output to a Slack channel.
v1.0.1
2025-04-16 08:17 UTC
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2025-04-16 08:17:54 UTC
README
A simple command line tool to tail a file and send the output to a Slack channel.
Usage
$ php bin/tail <file> <url>
Where <file>
is the path to the file you want to tail and <url>
is the Slack webhook URL.
Example
$ php bin/tail /var/log/apache2/access.log https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX
Requirements
PHP >= 7.4
version.