Re: is the syntax correct here:
"failed" is ambiguous. Did you get an error? Did it not wake the other computer? Who was xbmc.bin running as, and are you that user or have permission to kill a process of that user?
It can help to liberally sprinkle a script with echo statements while developing it, so you can tell what path it followed, or if the result of part of it was different than you expected. Or add additional tests to see if the wakeonlan was successful and xmbc.bin was actually killed.
When posting a script, it also helps to wrap it in code tags (highlight it and click # in message window) in case missing spaces or formatting matters.
Last edited by efflandt; August 23rd, 2012 at 12:02 AM.
i5 650 3.2 GHz, 8 GB, nvidia GTX 550 Ti 32" 1080p | i7-4700, 8 GB, Intel HD 4600/nvidia GTX 765M 15.6" 1080p | etc.