jurassicjs/nuxt-scheduler

Feature Request - Retrieve Next Running Date, Status of Cron Jobs, and Ability to Name Cron Jobs

Opened this issue ยท 1 comments

AzSiAz commented

Hello ๐Ÿ‘‹

I'm not certain if it's currently possible with the node-cron module, but I would like to request a feature that enables retrieving the next running date and status of scheduled cron jobs. Additionally, it would be great to have the ability to name cron jobs for better identification and organization.

The purpose of this functionality is to facilitate the creation of an API endpoint that displays a page showing the status of cron jobs.

While it is feasible to manually store basic job statistics in a database, with nitro storage layer for example, and update them when a job runs, integrating this capability directly into the nuxt-scheduler module would greatly simplify the process and might be useful for someone else

Thank you for considering this feature request!

rohrig commented

I'll look into this @AzSiAz. Thanks for the suggestion. If you want to submit a PR I'd also be happy to have it. ๐Ÿ™‚