PDA

View Full Version : [ubuntu] Run two commands from script. node.js



ubannedtu
May 13th, 2012, 12:43 AM
#!/bin/bash
script "/home/XXX/Documents/Logs/`date "+%m.%d.%y %H.%M.%S.txt"`" && node myfile.js


Trying to run a log file, then execute the node .js after the log starts. But the last command will not work. Any suggestions? thanks