By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,933 Members | 1,716 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,933 IT Pros & Developers. It's quick & easy.

List of Scheduled Tasks of Windows

P: 296
How to list the scheduled tasks of Windows ?
Aug 9 '09 #1
Share this Question
Share on Google+
3 Replies

Expert 100+
P: 410
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):
Expand|Select|Wrap|Line Numbers
  1. dir /b "%SystemRoot%\tasks"
Aug 13 '09 #2

P: 28
You must use Win32 COM apis (Win32 ng for C code sample)
Aug 26 '09 #3

Expert Mod 2.5K+
P: 3,503
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.


Aug 27 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.