Instantly run eastablished task from windows Task scheduler

You can trigger task from windows task scheduler using below script,

import subprocess;
process= subprocess.Popen([‘SchTasks’,’/Run’,’/TN’,‘hibes’],shell=True,stdout=subprocess.PIPE);
result=process.communicate()[0]
print result;

sample output would be,

SUCCESS: Attempted to run the scheduled task “hibes”.