hubot-cronjob
Advanced tools
Comparing version 0.0.1 to 0.2.0
{ | ||
"name": "hubot-cronjob", | ||
"version": "0.0.1", | ||
"version": "0.2.0", | ||
"description": "Hubot scriptable cron job", | ||
@@ -5,0 +5,0 @@ "main": "./src/cronjob.coffee", |
@@ -17,2 +17,3 @@ # hubot-cronjob | ||
pattern = '0 11 * * 1-5' | ||
timezone = 'Europe/Prague' | ||
fn = fetchRestaurantMenu (err, menu) -> | ||
@@ -22,3 +23,3 @@ if err | ||
robot.messageRoom 'lunchroom', menu | ||
new HubotCron pattern, fetchRestaurantMenu | ||
new HubotCron pattern, timezone, fetchRestaurantMenu | ||
@@ -25,0 +26,0 @@ ## How to install |
Sorry, the diff of this file is not supported yet
3515
27