in reply to List Windows scheduled tasks

I assume this relates to the Win32::OLE based soulution you mentioned in the CB yesterday. See Win32 Task Scheduler Monitor or Win32::AdminMiscs ScheduleList.

Martin

Replies are listed 'Best First'.
Re^2: List Windows scheduled tasks
by pankaj_it09 (Scribe) on Aug 07, 2009 at 06:16 UTC
    I am not able to install Win32::TaskScheduler.
      Why not?
        I did like this :
        D:\Perl\bin\search tool>cpan Win32/TaskScheduler.pm Going to read D:\Perl\cpan\sources\authors\01mailrc.txt.gz CPAN: Compress::Zlib loaded ok (v2.008) ...................................................................... +......DONE Going to read D:\Perl\cpan\sources\modules\02packages.details.txt.gz Database was generated on Tue, 04 Aug 2009 10:27:10 GMT CPAN: HTTP::Date loaded ok (v1.47) ............... New CPAN.pm version (v1.9402) available. [Currently running version is v1.9205] You might want to try install CPAN reload cpan to both upgrade CPAN.pm and run the new version without leaving the current session. CPAN: Time::HiRes loaded ok (v1.9711) .............................................................DONE Going to read D:\Perl\cpan\sources\modules\03modlist.data.gz ...................................................................... +......DONE CPAN: Storable loaded ok (v2.18) Going to write D:\Perl\cpan\Metadata Running make for W/W//W/Wi/Win32/TaskScheduler.pm CPAN: LWP::UserAgent loaded ok (v2.036) Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/W/W//W/Wi/Win32/TaskSched +uler.pm Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/W/W//W/Wi/Win32/TaskSched +uler.pm.gz Fetching with LWP: http://cpan.perl.org/authors/id/W/W//W/Wi/Win32/TaskScheduler.pm Fetching with LWP: http://cpan.perl.org/authors/id/W/W//W/Wi/Win32/TaskScheduler.pm.gz No external ftp command available I would like to connect to one of the following sites to get 'authors/ +id/W/W//W/ Wi/Win32/TaskScheduler.pm': http://www.perl.org/CPAN/ ftp://ftp.perl.org/pub/CPAN/ Is it OK to try to connect to the Internet? [yes] Fetching with LWP: http://www.perl.org/CPAN/authors/id/W/W//W/Wi/Win32/TaskScheduler.pm Fetching with LWP: http://www.perl.org/CPAN/authors/id/W/W//W/Wi/Win32/TaskScheduler.pm +.gz Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/authors/id/W/W//W/Wi/Win32/TaskScheduler +.pm Fetching with LWP: ftp://ftp.perl.org/pub/CPAN/authors/id/W/W//W/Wi/Win32/TaskScheduler +.pm.gz Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/authors/id/W/W//W/Wi/Win32/TaskScheduler +.pm Couldn't cwd pub/CPAN/authors/id/W/W/W/Wi/Win32: Failed to change di +rectory. Fetching with Net::FTP ftp://ftp.perl.org/pub/CPAN/authors/id/W/W//W/Wi/Win32/TaskScheduler +.pm.gz Couldn't cwd pub/CPAN/authors/id/W/W/W/Wi/Win32: Failed to change di +rectory. No external ftp command available Please check, if the URLs I found in your configuration file (http://ppm.activestate.com/CPAN, http://cpan.perl.org) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch authors/id/W/W//W/Wi/Win32/TaskScheduler.pm Giving up on 'D:\Perl\cpan\sources\authors\id\W\W\W\Wi\Win32\TaskSched +uler.pm' Note: Current database in memory was generated on Tue, 04 Aug 2009 10: +27:10 GMT