module.exports = {
  apps: [
    {
      name: 'NUS Scraper v2',
      script: 'build/index.js',

      args: 'scrape all',
      instances: 1,
      // Set to false since this is a script and not a server, otherwise pm2 will keep trying
      // to restart this
      autorestart: false,
      watch: false,

      env: {
        NODE_ENV: 'production',
      },
    },
  ],
};

@@ -108,15 +108,8 @@
 s: '
-scrape 
 all'

Fix scraper pm2 config