Schedule module functions using Cron syntax
- Add
nuxt-cron
dependency to your project
yarn add nuxt-cron # or npm install nuxt-cron
- Add
nuxt-cron
to themodules
section ofnuxt.config.js
{
modules: [
// Simple usage
'nuxt-cron',
// With options
['nuxt-cron', { /* module options */ }]
]
}
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
Copyright (c) Josh Deltener ([email protected])