#!/bin/bash

MINUTES=$[($RANDOM%25)]
echo "Now will execute script after $MINUTES minutes."
sleep $MINUTES
node ncu_sign.js $1 $2 $3 $4 

#!/bin/bash

BASEDIR=$(dirname $0)
MINUTES=$[($RANDOM%25)]
echo "Now will execute script after $MINUTES minutes."
sleep $MINUTES
node $BASEDIR/ncu_sign.js $1 $2 $3 $4 

Fix basedir path problem when execute nodejs command.
Fix basedir path problem when execute nodejs command.
