Bash / SSH

From: the_pope (pope@clara.co.uk)
Date: 11/04/02


From: "the_pope" <pope@clara.co.uk>
Date: Mon, 4 Nov 2002 18:37:16 -0000

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.



Relevant Pages

  • Re: Bash / SSH
    ... > I want to run a scheduled task using cron on a linux box which then SSH's ... > an NT machine to run a .bat file as cron scheduling has more feature than ... > The problem I have is that the bash script is running the commands on the ...
    (comp.security.ssh)
  • 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)
  • Re: TV Capture In Linux?
    ... >> Has anyone here managed to set up any kind of TV capture under Linux? ... with a little help from cron to schedule recordings. ... See man cron and man crontab for details. ...
    (comp.os.linux.hardware)
  • Re: whats the killer app for GNU/Linux systems?
    ... Linux is the killer application. ... Cron and the ability to do timed ... I have gotten good recordings, ... I am big on automation because those of us in networking ...
    (Debian-User)
  • Re: File deletion software or Cron job
    ... > I'm a newbie to Linux and would like to know the best way to delete files ... You could use the findcommand to actually locate the files and clean them ... You'll want cron to schedule your cleanup job. ...
    (alt.os.linux.suse)