Trigger a specific job

This will trigger a specific job to run. Useful for debugging scheduled job without waiting for the cron to execute.

Command line

# Will trigger the dailyUpdate job
yarn run trigger dailyUpdate

JavaScript

const onCircle = require('on-circle');
await onCircle.trigger('dailyUpdate');