create task schedule to run at system logon between 9am to 6pm on monday to friday?

Apr 1, 2012 at 5:37 AM

dear all,

i want to schedule task that needs to be run on system log on , between 9 am to 6 pm on monday to friday.

i have written some code by referring to this link

i was able to create a task scheduler but unable to set system logon , monday to friday

can somebody help me on this..

Thanks in Advance