Jobby has asked for the wisdom of the Perl Monks concerning the following question:
Hello, I have a script that needs to regularly upload a file to a server. I'm doing this using the pscp program included with PuTTY. I construct the command and then use system($command); to run it. The script is run silently at regular intervals using a cron replacement for windows and wperl.exe. What's strange is that this worked a month ago and doesn't work anymore. If I take the command and run in a command window, everything is OK. I've tried running the command using backticks too, but nothing happens there either. Any ideas?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: system() and backticks not working
by Roger (Parson) on Jan 31, 2004 at 13:37 UTC | |
by Jobby (Monk) on Jan 31, 2004 at 18:15 UTC | |
|
Re: system() and backticks not working
by exussum0 (Vicar) on Jan 31, 2004 at 16:48 UTC |