mirror of
https://github.com/strapi/strapi.git
synced 2025-08-14 11:48:43 +00:00

Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com> Based on the Cron-Style listed in `node-schedule`: https://www.npmjs.com/package/node-schedule#cron-style-scheduling
22 lines
447 B
JavaScript
22 lines
447 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Cron config that gives you an opportunity
|
|
* to run scheduled jobs.
|
|
*
|
|
* The cron format consists of:
|
|
* [SECOND (optional)] [MINUTE] [HOUR] [DAY OF MONTH] [MONTH OF YEAR] [DAY OF WEEK]
|
|
*
|
|
* See more details here: https://strapi.io/documentation/3.0.0-beta.x/concepts/configurations.html#cron-tasks
|
|
*/
|
|
|
|
module.exports = {
|
|
/**
|
|
* Simple example.
|
|
* Every monday at 1am.
|
|
*/
|
|
// '0 1 * * 1': () => {
|
|
//
|
|
// }
|
|
};
|