I want to trigger a JavaScript function every 500ms using node cron jobs, though I couldn't find a way to make the cron execute any lower than a 1 second interval.
cron.schedule("*/1 * * * * *", function() {
console.log("running a task every 1 second");
});
Is there any way to run a function every 500ms using node cron jobs?