List of Running Scheduled Tasks

Please use the below script to get list of scheduled tasks that are currently running in the target machine

import os
lOut = os.popen('schtasks | find "Running"').readlines()
for i in lOut:
    print i

Sample Output:

List of Running Scheduled Tasks.png