fix: rolling back cron time

This commit is contained in:
daniel muniz
2025-02-26 12:31:19 -03:00
parent 99f340e6a5
commit 6f4057eb62

View File

@@ -5,7 +5,7 @@ const updateCategories = new UpdateCategoriesUseCase()
module.exports = async function cron() {
updateCategories.execute()
const oneDay = 10000// * 60 * 60 * 24
const oneDay = 1000 * 60 * 60 * 24
setInterval(() => {
updateCategories.execute()
}, oneDay)