Socket
Socket
Sign inDemoInstall

hubot-schedule

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-schedule - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "hubot-schedule",
"description": "Message scheduler for hubot",
"version": "0.1.1",
"version": "0.1.2",
"author": "matsukaz <matsukaz@gmail.com> (http://matsukaz.hatenablog.com)",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/matsukaz/hubot-schedule",

@@ -48,3 +48,3 @@ # hubot-schedule

Hubot schedule [add|new] "<cron pattern>" <message> - Schedule a message that runs recurrently
Hubot schedule [del|delete|remove|cancel] <id> - Cancel the schedule
Hubot schedule [cancel|del|delete|remove] <id> - Cancel the schedule
Hubot schedule [upd|update] <id> <message> - Update scheduled message

@@ -56,4 +56,8 @@ Hubot schedule list - List all scheduled messages

Hubot> hubot schedule add "0 10 * * 1-5" 朝のコーヒー淹れ忘れないでね :)
9735: Schedule created
Hubot> hubot schedule list
6738: [ Fri Jan 16 2015 10:00:00 GMT+0900 (JST) ] #Shell スクリプトをリリースするよ!
9735: [ 0 10 * * 1-5 ] #Shell 朝のコーヒー淹れ忘れないでね :)

@@ -65,11 +69,15 @@ Hubot> hubot schedule update 6738 スクリプトをリリースしてみんなにシェアしよう!

6738: [ Fri Jan 16 2015 10:00:00 GMT+0900 (JST) ] #Shell スクリプトをリリースしてみんなにシェアしよう!
9735: [ 0 10 * * 1-5 ] #Shell 朝のコーヒー淹れ忘れないでね :)
(2015-01-16 10:00:00になると以下が投稿され、スケジュールから削除される)
スクリプトをリリースしてみんなにシェアしよう!
Hubot> hubot schedule list
9735: [ 0 10 * * 1-5 ] #Shell 朝のコーヒー淹れ忘れないでね :)
Hubot> hubot schedule del 6738
6738: Schedule deleted
6738: Schedule canceled
Hubot> hubot schedule list
Message is not scheduled
Hubot> hubot schedule add "0 10 * * 1-5" 朝のコーヒー淹れ忘れないでね :)
9735: Schedule created
```

@@ -76,0 +84,0 @@

@@ -49,3 +49,3 @@ # hubot-schedule

Hubot schedule [add|new] "<cron pattern>" <message> - Schedule a message that runs recurrently
Hubot schedule [del|delete|remove|cancel] <id> - Cancel the schedule
Hubot schedule [cancel|del|delete|remove] <id> - Cancel the schedule
Hubot schedule [upd|update] <id> <message> - Update scheduled message

@@ -57,4 +57,8 @@ Hubot schedule list - List all scheduled messages

Hubot> hubot schedule add "0 10 * * 1-5" Don't forget to brew coffee :)
9735: Schedule created
Hubot> hubot schedule list
6738: [ Fri Jan 16 2015 10:00:00 GMT+0900 (JST) ] #Shell Let's release this script!
9735: [ 0 10 * * 1-5 ] #Shell Don't forget to brew coffee :)

@@ -66,13 +70,14 @@ Hubot> hubot schedule update 6738 Let's release this module and share with everyone!

6738: [ Fri Jan 16 2015 10:00:00 GMT+0900 (JST) ] #Shell Let's release this script and share with everyone!
9735: [ 0 10 * * 1-5 ] #Shell Don't forget to brew coffee :)
Hubot> hubot schedule del 6738
6738: Schedule deleted
(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> hubot schedule del 9735
9735: Schedule canceled
Hubot> hubot schedule list
Message is not scheduled
Hubot> hubot schedule add "0 10 * * 1-5" Don't forget to brew coffee :)
9735: Schedule created
```
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).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc