I am trying to automate a file transfer. Then, I use
windows_task resource to run this command:
pscp -pw password C:\\chef\\log* user@host:/path/to/load
However, the result of task says: “The system cannot find the file specified. (0x80070002)”, but if I manually create the task it works fine.
Some help pls.