slack-hn
slack-hn copied to clipboard
[Proposal] Enable configure a cron time
Abstract
You can notify news into your channel with cron.
How to use it
Set the environment variable as CRON_TIME such as:
heroku config:set CRON_TIME='0 */30 * * * *' --app kaka2-slack-hn
If you don't need it, unset the variable.
heroku config:unset CRON_TIME
Note
You had better not config one:
heroku config:set CRON_TIME='* * * * * *' --app kaka2-slack-hn
This configuration will be spoil your channel... You have to unset the variable or set better cron configuration.