@karmaniverous/jeeves-scripts-core
    Preparing search index...

    Function taskFileDispatcher

    • A runnable's run that dispatches the task file: dispatchTaskFile with these options. Pass it to defineRunnable, which runs it under the crash handler (Decision 57); nothing runs until the job does.

      Parameters

      Returns (ctx?: { args: readonly string[]; flags?: object }) => Promise<void>

      export default defineRunnable({
      id: 'acme-daily-briefing',
      domain: 'acme',
      flags: dispatcherFlags,
      run: taskFileDispatcher({
      scriptName: 'acme/daily-briefing',
      jobId: 'acme-daily-briefing',
      taskFile: 'tasks/daily-briefing.md',
      }),
      });