This project is read-only.

Scheduled Tasks and IRepository

Topics: Writing modules
Jul 18, 2013 at 4:02 PM
I have created a Scheduled Task and seems to be working. My breakpoint gets hit in the Process method. The issue I face is that I need to call a WS and update the database using IRepository when the Scheduled Task runs.

I am not sure how to pass the IRepository into my Schedule Task class.


Jul 18, 2013 at 9:32 PM
What is the issue you're facing? IRepository should work from scheduled tasks without anything special.