How to list the scheduled tasks of Windows ?
List of Scheduled Tasks of Windows
Collapse
X
-
Tags: None
-
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"
-
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.You must use Win32 COM apis (Win32 ng for C code sample)
Regards,
JeffComment
Comment