hubot-cronjob
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -0,3 +1,7 @@ | ||
# 0.2.0 | ||
- Configurable timezone | ||
# 0.0.1 | ||
- Initial commit |
{ | ||
"name": "hubot-cronjob", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Hubot scriptable cron job", | ||
@@ -5,0 +5,0 @@ "main": "./src/cronjob.coffee", |
@@ -18,7 +18,7 @@ # hubot-cronjob | ||
timezone = 'Europe/Prague' | ||
fn = fetchRestaurantMenu (err, menu) -> | ||
fn = fetchRestaurantMenu.bind null, (err, menu) -> | ||
if err | ||
return console.error err | ||
robot.messageRoom 'lunchroom', menu | ||
new HubotCron pattern, timezone, fetchRestaurantMenu | ||
new HubotCron pattern, timezone, fn | ||
@@ -25,0 +25,0 @@ ## How to install |
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
3668