mirror of
https://github.com/strapi/strapi.git
synced 2025-07-22 16:37:13 +00:00
9 lines
192 B
JavaScript
9 lines
192 B
JavaScript
'use strict';
|
|
|
|
const getWeeklyCronScheduleAt = date =>
|
|
`${date.getSeconds()} ${date.getMinutes()} ${date.getHours()} * * ${date.getDay()}`;
|
|
|
|
module.exports = {
|
|
getWeeklyCronScheduleAt,
|
|
};
|