From 8ba281ac4e86f6461b2e6435f2925d79f451e346 Mon Sep 17 00:00:00 2001 From: Jackson D Date: Sun, 6 Feb 2022 09:55:00 -0500 Subject: [PATCH] Resetting cron. --- utils/jobs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/jobs.js b/utils/jobs.js index d686111..e509ef5 100644 --- a/utils/jobs.js +++ b/utils/jobs.js @@ -13,7 +13,7 @@ module.exports = async function () { // Update weather data every 15 minutes const weatherJob = schedule.scheduleJob( 'updateWeather', - '*/15 * * * *', + '0 */15 * * * *', async () => { try { const weatherData = await getExternalWeather(); @@ -30,7 +30,7 @@ module.exports = async function () { // Clear old weather data every 4 hours const weatherCleanerJob = schedule.scheduleJob( 'clearWeather', - '5 */4 * * *', + '0 5 */4 * * *', async () => { clearWeatherData(); }