That's right!


Thanks a lot ,Lance
Probably u have diverted ( for good)  me again to my first idea thought many
days back - but doesn't  know much about this process - u have already told
me how to run perl file usiing bat
pls tell me how to put a bat file as a schedule task .
is it simply thru - control panel - schdule task
add schwdule task & browse for that .bat file - that's it - right ?

Thanks & Regards
Pradeep


----- Original Message -----
From: "Lance" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 12, 2003 2:38 PM
Subject: Re: remote win32 execn - os/patches/prods/diskusage/users




"Lance" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> there are a couple of windows api modules you might want to look at on
> www.cpan.org  On windows machines, I usually make a bat file that simply
> calls my perl script, and put the bat file in the scheduled tasks list.
>
> eg
>
> runme.bat contains:
> ::
> perl -w runthisscriptorelse.pl
> ::
>
>
>
> And that's it!
>
>
> "Pradeep Goel" <[EMAIL PROTECTED]> wrote in message
> 074f01c2d25c$fc998960$69734c0f@NT15105">news:074f01c2d25c$fc998960$69734c0f@NT15105...
> > Unix scenario:
> > a script , say S1 , is copied to all unix test machines from a server
then
> > run from server ( daily as a CRON job )  & output is redirected to a
local
> > file on server then used to display on web page.
> >
> > Could someone please specify me how to get following info (commands /
> > funcs ) on REMOTE Windows  machines from a server - assuming once
> > administration prileges , & without them as well - preferably without
> admin
> > priv.
> >
> > I am most ineterested in knowing  l how to run the script as a SCHEDULE
> task
> > using a scheduler .
> >
> > 1) get the following
> >
> > HARDWARE/OS:
> > uname -s , uname -r
> >
> > PRODUCTS:
> > swlist
> >
> > PATCHES:
> > ls -m $patchDir
> >
> > DISK USAGE:
> > bdf -t ,
> > df , df -k  ,df -t
> >
> > USERS LOGGED IN :
> > who  , last
> >
> > Thanks & Regards
> > Pradeep
> > 91-80-2052262
> >
>
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to