hubot-schedule
Advanced tools
Comparing version 0.1.3 to 0.2.0
{ | ||
"name": "hubot-schedule", | ||
"description": "Message scheduler for hubot", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"author": "matsukaz <matsukaz@gmail.com> (http://matsukaz.hatenablog.com)", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/matsukaz/hubot-schedule", |
@@ -69,4 +69,4 @@ # hubot-schedule | ||
(2015-01-16 10:00:00になると以下が投稿され、スケジュールから削除される) | ||
スクリプトをリリースしてみんなにシェアしよう! | ||
(2015-01-16 10:00:00になると投稿され、スケジュールから削除される) | ||
@@ -81,2 +81,7 @@ Hubot> hubot schedule list | ||
Message is not scheduled | ||
Hubot> hubot schedule add "0 10 * * 1-5" hubot image me コーヒー | ||
9735: Schedule created | ||
(hubotはhubot-scheduleによるメッセージを処理できるため、指定時間になったらコーヒー画像を表示する、といった利用が可能です。メッセージを処理させたくない場合には、環境変数に`HUBOT_SCHEDULE_DONT_RECEIVE=1`を設定します。) | ||
``` | ||
@@ -86,1 +91,11 @@ | ||
環境変数に`HUBOT_SCHEDULE_DEBUG=1`を設定することで、デバッグメッセージなどを表示することができます。 | ||
## Copyright and license | ||
Copyright 2015 Masakazu Matsushita. | ||
Licensed under the **[MIT License] [license]**. | ||
@@ -70,4 +70,4 @@ # hubot-schedule | ||
(Hubot posts the following message at 2015-01-16 10:00:00 and schedule will be removed automatically) | ||
Let's release this script and share with everyone! | ||
(Hubot posts the message at 2015-01-16 10:00:00 and schedule will be removed automatically) | ||
@@ -79,4 +79,19 @@ Hubot> hubot schedule del 9735 | ||
Message is not scheduled | ||
Hubot> hubot schedule add "0 10 * * 1-5" hubot image me coffee | ||
9735: Schedule created | ||
(hubot can process messages sent by hubot-schedule, so you can ask hubot to do something at the scheduled time, like post an image of coffee. You can disable it by setting environment variable `HUBOT_SCHEDULE_DONT_RECEIVE=1`) | ||
``` | ||
If you are required to persist scheduled messages, use hubot-brain persistent module like [hubot-redis-brain](https://github.com/hubot-scripts/hubot-redis-brain). | ||
If you need to persist scheduled messages, use hubot-brain persistent module like [hubot-redis-brain](https://github.com/hubot-scripts/hubot-redis-brain). | ||
Setting environment variable `HUBOT_SCHEDULE_DEBUG=1` will show some debug messages. | ||
## Copyright and license | ||
Copyright 2015 Masakazu Matsushita. | ||
Licensed under the **[MIT License] [license]**. | ||
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14528
8
96