Can we run a function after every second/minute at backend using cron-job schedular?
For that I have set as below but it’s not working(here I have set time for every 1 minute), please guide me if I’m doing anything wrong in the code.
{
“jobs” : [
{
“functionLocation” : “/hideCar.js” ,
“functionName” : “hideCarDetails” ,
“description” : “hide car from listing” ,
“executionConfig” : {
“cronExpression” : “1 * * * *”
}
}
]
}