SIGSEV/Starveller

View on GitHub
src/api/cron.js

Summary

Maintainability
A
0 mins
Test Coverage
import schedule from 'node-schedule'

import { refreshAll, refreshTrending } from 'api/Repo.service'

schedule.scheduleJob('0 0 * * *', () => {
  refreshAll()
  refreshTrending()
})