in reply to Re^3: List Windows scheduled tasks
in thread List Windows scheduled tasks

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

Replies are listed 'Best First'.
Re^5: List Windows scheduled tasks
by Anonymous Monk on Aug 07, 2009 at 07:12 UTC
      I tried everything but still the below error :
      C:\Documents and Settings\psingh>cpan Win32::TaskScheduler CPAN: Storable loaded ok (v2.18) Going to read D:\Perl\cpan\Metadata Database was generated on Sat, 08 Aug 2009 10:28:09 GMT Running install for module 'Win32::TaskScheduler' Running make for U/UN/UNICOLET/Win32-TaskScheduler2.0.3.zip CPAN: Digest::SHA loaded ok (v5.45) CPAN: Compress::Zlib loaded ok (v2.008) Checksum for D:\Perl\cpan\sources\authors\id\U\UN\UNICOLET\Win32-TaskS +cheduler2.0.3.zip ok CPAN: Archive::Zip loaded ok (v1.20) CPAN.pm: Going to build U/UN/UNICOLET/Win32-TaskScheduler2.0.3.zip Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lmstask Note (probably harmless): No library found for oldnames.lib Note (probably harmless): No library found for kernel32.lib Note (probably harmless): No library found for user32.lib Note (probably harmless): No library found for gdi32.lib Note (probably harmless): No library found for winspool.lib Note (probably harmless): No library found for comdlg32.lib Note (probably harmless): No library found for advapi32.lib Note (probably harmless): No library found for shell32.lib Note (probably harmless): No library found for ole32.lib Note (probably harmless): No library found for oleaut32.lib Note (probably harmless): No library found for netapi32.lib Note (probably harmless): No library found for uuid.lib Note (probably harmless): No library found for ws2_32.lib Note (probably harmless): No library found for mpr.lib Note (probably harmless): No library found for winmm.lib Note (probably harmless): No library found for version.lib Note (probably harmless): No library found for odbc32.lib Note (probably harmless): No library found for odbccp32.lib Note (probably harmless): No library found for msvcrt.lib Writing Makefile for Win32::TaskScheduler Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp Example.pl blib\lib\Win32\Example.pl cp runTime.pl blib\lib\Win32\runTime.pl cp TaskScheduler.pm blib\lib\Win32\TaskScheduler.pm cp trigger.pl blib\lib\Win32\trigger.pl D:\Perl\bin\perl.exe D:\Perl\lib\ExtUtils\xsubpp -typemap D:\ +Perl\lib\ExtUtils\typemap TaskScheduler.xs > TaskScheduler.xsc && D: +\ Perl\bin\perl.exe -MExtUtils::Command -e mv TaskScheduler.xsc TaskSche +duler.c Please specify prototyping behavior for TaskScheduler.xs (see perlxs m +anual) cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSO +LE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_I +N _INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_M +SVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"2.0.3\" -DXS_VERSI +O N=\"2.0.3\" "-ID:\Perl\lib\CORE" -TP TaskScheduler.c 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code + '0x1' Stop. UNICOLET/Win32-TaskScheduler2.0.3.zip nmake -- NOT OK Warning (usually harmless): 'YAML' not installed, will not store persi +stent state Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible

        You either don't have a C compiler installed; or your environment is not set up correctly to use it.


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.