XYOracleNetwork/clients

View on GitHub
packages/automation-witness-server/src/Jobs/TZeroStockMarket/getJob.ts

Summary

Maintainability
A
1 hr
Test Coverage
import type { Job } from '@xyo-network/shared'

import { getTask } from './getTask.js'

const name = 'tZeroStockPriceWitness'

export const getJob = (): Job => {
  const schedule: string = process.env.TZERO_STOCK_MARKET_WITNESS_JOB_SCHEDULE || '10 minutes'
  const task = getTask()
  return {
    name, schedule, task,
  }
}