mirror of
https://github.com/strapi/strapi.git
synced 2025-07-21 07:57:45 +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,
|
||
|
};
|