Commit 2b6c0bef authored by Reshmi's avatar Reshmi
Browse files

Adding a new function in scheduler

parent ed4e2e49
1 merge request!27Adding a new function to scheduler
Showing with 1 addition and 1 deletion
+1 -1
......@@ -120,7 +120,7 @@ const scheduledJob = cron.schedule('0 0 * * *', async () => {
scheduler2Fun();
} catch (error) { console.log('Cron job running at 12 AM');
} catch (error) {
console.error('Error updating status:', error.message);
}
}, {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment