List of Scheduled Tasks of Windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pankajit09
    Contributor
    • Dec 2006
    • 296

    List of Scheduled Tasks of Windows

    How to list the scheduled tasks of Windows ?
  • nithinpes
    Recognized Expert Contributor
    • Dec 2007
    • 410

    #2
    You may use Win32::OLE module for this.

    However, if your requirement is just to get a raw list of scheduled tasks(with no details), you can make use of the following DOS command(run it inside perl script using system command or reverse quotes):
    Code:
    dir /b "%SystemRoot%\tasks"

    Comment

    • george666
      New Member
      • Jul 2008
      • 28

      #3
      You must use Win32 COM apis (Win32 ng for C code sample)

      Comment

      • numberwhun
        Recognized Expert Moderator Specialist
        • May 2007
        • 3467

        #4
        Originally posted by george666
        You must use Win32 COM apis (Win32 ng for C code sample)
        Its nice of you to provide a link to sample C code, but this is the Perl forum and the OP seemed to be looking for a way to do it with Perl. Thus, the module that was provided should allow them to do what they wanted to, in Perl.

        Regards,

        Jeff

        Comment

        Working...