Node-cron Task Fails to Re-enter cron.schedule: Stuck With Async Function Scheduling
I need to run a node-cron task that invokes an async function, which returns a Moment object as the next scheduled time. However, I found that it cannot enter the cron.schedule method twice, and the code gets stuck. Can you guys help me figure out where the problem is?