Small Bree based job runner + gui
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

heartbeat.js 275B

12345678910111213141516
  1. const path = require('path')
  2. const jobDef = {
  3. timeout: false,
  4. interval: '10s'
  5. }
  6. /**
  7. * Actual job instructions
  8. */
  9. const jobRun = () => {
  10. console.log('beep')
  11. return 'boop'
  12. }
  13. jobRun()
  14. module.exports = { jobName: path.basename(__filename, '.js'), ...jobDef }