[PLUG] Re: Calling command from windows
Michael Montagne
michael at themontagnes.com
Wed Feb 23 15:05:12 UTC 2005
>On 02/22/05, Wil Cooley busted out the keyboard and typed:
> On 2005-02-22, Michael Montagne <michael at themontagnes.com> wrote:
> > I'm running a linux server backing up a windows workstation
> > environment. I need to call a python script that exists on the linux
> > box. I don't want to install python on all the workstations. The
> > program reads a text file that is created by a windows app and actson
> > the items listed in the file. My approach is to use cron to watch a
> > directory using find and -exec. But that means cron running ths
> > command every minute of every day. Seems inefficient. It seems that
> > a way to call the python script (with an argument) from windows is
> > what I really need. Is that possible?
>
> Just seems inefficient or is actually causing problems? If it's working and
> not causing any _actual_ performance degradation, I wouldn't worry about it.
> Unless you've got an old system, running a find command on a shallow directory
> shouldn't really be any problem; and no doubt much easier than doing
> anything on Windows.
>
> Wil
Good point. I believe I'll try it and see what happens. 99 times out
of 100 this program will not find any files to act upon.
--
Michael Montagne
michael at themontagnes.com
http://www.themontagnes.com
More information about the PLUG
mailing list