this is how to use it according to the docs in node js each * has what it does
cron.schedule('* * * * *', () => {
console.log('running a task every minute');
});
# ┌────────────── second (optional)
# │ ┌──────────── minute
# │ │ ┌────────── hour
# │ │ │ ┌──────── day of month
# │ │ │ │ ┌────── month
# │ │ │ │ │ ┌──── day of week
# │ │ │ │ │ │
# │ │ │ │ │ │
# * * * * * *
for example i want a mail to be sent every 10 seconds i do something like this
cronJob.schedule('10 * * * * *', () => {
})
how can i get the 10 seconds from my vue component and pass it to my cron job