Schedule task Configuration

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
14 年 前
Hi,

Can you tell me what are these attributes in this Thread Node. Its urgent. Can I schedule it for a specific date and time?
What seconds do?


<Thread seconds="120">
        <task name="Emails" type="NopSolutions.NopCommerce.Common.Messages.SendQueuedMessagesTask, Nop.Common" enabled="true" stopOnError="false" maxTries="5"/>
      </Thread>


Thanks
14 年 前
Can anyone reply me I am in a hurry.
14 年 前
Go through the code and have a look.  I haven't look at this but at a guess I would say it has something to do with how long a thread last for before it times out.
14 年 前
I think finally found it, correct me if I am wrong the seconds which are in web.config is only used in this variable.


public int Interval
{
     get
     {
          return this._seconds * 1000;
      }
}


So this mean this is the interval or delay between next run.

Thanks
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.