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