It was in the setup function, but never mind, I've solved the problem.
The system calls doesn't work well, sometimes they do, sometimes part of it, etc, but using the sh script it does work perfectly.
To send the server to the background I added the character "&" at the end of the command.
The script would be like this:
rdate 18.104.22.168 && hwclock --systohc
node /media/mmcb1k0p1/Server/server2.js &