Re: Bash / SSH

From: Nico Kadel-Garcia (nkadel@bellatlantic.net)
Date: 11/04/02


From: "Nico Kadel-Garcia" <nkadel@bellatlantic.net>
Date: Mon, 04 Nov 2002 19:08:37 GMT


"the_pope" <pope@clara.co.uk> wrote in message
news:3dc6be2c$0$1290$cc9e4d1f@news.dial.pipex.com...
> Hi,
>
> I want to run a scheduled task using cron on a linux box which then SSH's
to
> an NT machine to run a .bat file as cron scheduling has more feature than
> NT.
>
> I have set-up an SSH server on the NT machine and written a bash script
> which cron runs and logs into the NT machine from the Linux box.
>
> The problem I have is that the bash script is running the commands on the
> linux box not on the NT box its just logged into.
>
> Am I going about this the right way? I'm new to Bash but know a bit of
perl
> if thats a better way of doing things.
>
> Any help would be appreciated.
>
> RP.

Let's see the crontab entry or cron script. And why can't you set up the
scheduled job to occur on the NT machine locally?

I'm *guessing* that you have some sort of fun going on with quoting.



Relevant Pages

  • Re: Bash / SSH
    ... The main reason for not using NT scheduling is I'm going to try to integrate ... IPconfig it says command not found as I think its running on the Linux ... >> an NT machine to run a .bat file as cron scheduling has more feature ... >> I have set-up an SSH server on the NT machine and written a bash script ...
    (comp.security.ssh)
  • Bash / SSH
    ... I want to run a scheduled task using cron on a linux box which then SSH's to ... The problem I have is that the bash script is running the commands on the ...
    (comp.security.ssh)
  • Re: Question about resetting at command?
    ... into rc.local (Linux) to kill the scheduled 'at' job in the event that the ... It's followed in rc.local by scheduling the same ... >> I looked at cron. ...
    (alt.os.linux)
  • Re: [OT] Interview with Con Kolivas on Linux failures
    ... linux these days too, but is certainly possible. ... algorithms which are "good for desktop apps and bad for other ... scheduling algorithms which try to give time to apps based on ... its probably easy to quantify what the response time should ...
    (Debian-User)
  • Re: [OT] Interview with Con Kolivas on Linux failures
    ... linux these days too, but is certainly possible. ... compromised they way would be in the monolithic kernel model. ... One doesn't want to move apps into kernel space. ... scheduling algorithms which try to give time to apps based on ...
    (Debian-User)