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