Tag Info

New answers tagged


I was having the same problem and found the easiest way around it was to call the command via a bat file. I could run the entire command from a command line but if I tried to use the scheduled task it would not work no matter what I did. Single line batch file fixed it. C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -version 2.0 -command ". ...


Answering my own question here. It was difficult to follow the flow of control in the scripts above, I think I'm settling on something like this: #!/bin/bash # Generate the foo report # source the shared code/vars if we're running locally [[ -f shared.sh ]] && source shared.sh if [[ "$report_host" != "$(hostname)" ]]; then # ssh-agent will ...


cat filea <(echo) fileb > filec


Unless I misunderstand, how about you append cat filea >> fileb You can do a sort afterwards, if that's what you're after.

Top 50 recent answers are included