Add cron-task

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-05-12 02:15:06 +04:00
parent c2fdf5128e
commit 5b0b403dbb
+9
View File
@@ -0,0 +1,9 @@
module.exports = {
myJob: {
task: ({ strapi }) => {console.log('TODO > save db')},
options: {
rule: '0 0 * * SUN',
tz: 'Indian/Reunion',
},
},
};