Skip to content

Instantly share code, notes, and snippets.

@mbertheau
Created January 22, 2015 15:00
Show Gist options
  • Save mbertheau/824e23a31b58624daf31 to your computer and use it in GitHub Desktop.
Save mbertheau/824e23a31b58624daf31 to your computer and use it in GitHub Desktop.
hubot cron not working
CronJob = require('cron').CronJob
new CronJob('* * * * * *', () ->
console.log "tick"
return
, null, true, "Europe/Berlin")
module.exports = (robot) ->
tz = 'Europe/Berlin'
new CronJob('* * * * * *', testBuild, null, true, tz)
testBuild = ->
console.log "tack"
return
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment