diff --git a/utils/jobs.js b/utils/jobs.js index e509ef5..d686111 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', - '0 */15 * * * *', + '*/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', - '0 5 */4 * * *', + '5 */4 * * *', async () => { clearWeatherData(); }