| 12345678910111213141516 |
- const path = require('path')
- const jobDef = {
- timeout: false,
- interval: '10s'
- }
-
- /**
- * Actual job instructions
- */
- const jobRun = () => {
- console.log('beep')
- return 'boop'
- }
- jobRun()
-
- module.exports = { jobName: path.basename(__filename, '.js'), ...jobDef }
|