Adding a scheduled task

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
How can I add a scheduled task that will execute a file every 1 minute in NopCommerce 2.65.

I've already found the db table where the Scheduled tasks are stored, but I don't know where to store the file that's needed to be executed, and how to initiate the task.

Any help is greatly appreciated!
11 years ago
You create a class in your code that implements ITask.  The record you create in the ScheduledTask table has the timing and the full namespace + class name of the task.

You can refer to Nop.Services.Customers.DeleteGuestsTask for an easy example.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.