22 lines
518 B
JavaScript
Raw Normal View History

2019-04-05 16:11:09 +02:00
'use strict';
/**
* Cron config that gives you an opportunity
* to run scheduled jobs.
*
* The cron format consists of:
* [MINUTE] [HOUR] [DAY OF MONTH] [MONTH OF YEAR] [DAY OF WEEK] [YEAR (optional)]
2021-09-23 09:14:09 +02:00
*
* It uses https://github.com/node-schedule/node-schedule under the hood
2019-04-05 16:11:09 +02:00
*/
module.exports = {
/**
* Simple example.
* Every monday at 1am.
*/
2021-09-23 09:14:09 +02:00
// '0 0 1 * * 1': (strapi) => async () => {
// // Add your own logic here (e.g. send a queue of email, create a database backup, etc.).
2019-04-05 16:11:09 +02:00
// }
};