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

Why did you do that?
cpan Win32::TaskScheduler
A Guide to installing modules

Replies are listed 'Best First'.
Re^6: List Windows scheduled tasks
by pankaj_it09 (Scribe) on Aug 10, 2009 at 07:00 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.
        From where will I get the C compiler and how to set up the environment for it ?

        My OS is Windows XP Professional.