How does crontab start a node service?

  node.js, question

If you want to do a function like starting the node service every 5 minutes,
but
How do I start the node service with crontab?
I have never done this before, only know that crontab can start shell script files.
But how does node do it?
And then there’s the fact that after it’s started,
I may have taken more than 5 minutes after I finished a series of operations. will crontab start another node service during this period?
Guidance from Kneel to beg.

Pm2 is recommended to start node.
Then two shell scripts

start.sh //
 #!  bin/sh
 pm2 start myProject
 
 stop.sh //
 #!  bin/sh
 pm2 stop myProject

Just start the two scripts separately in crontab.