hubot-ssl-certificate-expiration-check
v0.0.2
Published
SSL expiration check
Downloads
2
Readme
hubot-ssl-certificate-expiration-check
SSL expiration check
Getting Started
Setup your hubot
Add the script to your hubot.
npm install hubot-ssl-certificate-expiration-check --save
- Add
hubot-ssl-certificate-expiration-check
toexternal-scripts.json
, like:
["hubot-ssl-certificate-expiration-check"]
Scheduler
- agenda example
agenda = new Agenda({db:{address: process.env.MONGO_URL}})
module.exports = (robot) ->
agenda.define 'agenda:check:ssl:certificate:expiration:date', (job, done) ->
robot.emit 'check:ssl:certificate:expiration:date', ['example1.com', 'example2.com'], {room: '[email protected]', expire: 30}
done()
agenda.every('0 10 * * *', 'agenda:check:ssl:certificate:expiration:date')
agenda.start()