slack-hn icon indicating copy to clipboard operation
slack-hn copied to clipboard

[Proposal] Enable configure a cron time

Open kakakikikeke-fork opened this issue 8 years ago • 0 comments

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.

kakakikikeke-fork avatar Jun 29 '16 05:06 kakakikikeke-fork