Jump to content

scp help


brea
 Share

Recommended Posts

I have a script I've written to parse some data, format it and then use scp to transfer it through a session to a remote host for further processing. When I run the process manually it works just fine however when I schedule it using task scheduler the scp process fails. I've tried running the scp portion using @comspec and through a batch file. Both work manually.

Thanks for any help

Link to comment
Share on other sites

Where is your code?

Maybe you are using commands which need the "Desktop" like Send or something.

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Thanks. That helped me figure it out that it was more focused on the scp application and not the script. When I ran it manually I ran it from the folder where the script is however my hook didn't have the proper path in it so when it ran by the system it couldn't find the script file to run the commands.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...