My script deployed but not running. script works on my system

The link you shared appears to be invalid.

Note that, Netlify is not meant to run forever running Node.js scripts: