Nop 4 Scheduletasks not running automatically

3 年 前
We upgraded nop from 3.9 to 4.0. We noticed the scheduled tasks are not triggered automatically. Upload app start we are seeing errors as

Error 404. The requested page (/scheduletask/runtask) was not found

We don't have any plugins. All of them are the default plugins.

For example Send emails has type as Nop.Services.Messages.QueuedMessagesSendTask, Nop.Services and enabled. But this is not triggering automatically. Manual run works but automated run doesn't work.

Please advise what might be wrong.
3 年 前
Do you have a valid URL specified in admin area configuration -> store?

Please see here.

Moreover, did you see any error log under log?
3 年 前
Store name is configured as name.com and store url is configured as http://www.name.com

Log i am seeing is the


  Error 404. The requested page (/scheduletask/runtask) was not found

I see scheduler is triggering as i see this log every few seconds.
3 年 前
Did you checkthis?

Here, please follow last message that post.

May be it would be helpful.
3 年 前
Yes, i checked and as i said i have store name has name.com and store url has http://www.name.com

No luck.
3 年 前
Thanks man. I tried to remove .com from store name and it worked.

So store name shdn't have .com this was working in 3.9
3 年 前
Yeah.. Enjoy :-)
3 年 前
Now the tasks are triggering. But all of them are timing out. Any idea..

Error while running the 'Keep alive' schedule task. The operation has timed out

System.Net.WebException: The operation has timed out
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at System.Net.WebClient.DownloadString(String address)
   at Nop.Services.Common.KeepAliveTask.Execute()
   at Nop.Services.Tasks.Task.ExecuteTask()
   at Nop.Services.Tasks.Task.Execute(Boolean throwException, Boolean ensureRunOncePerPeriod)
3 年 前
RajAP wrote:
We upgraded nop from 3.9 to 4.0. We noticed the scheduled tasks are not triggered automatically. Upload app start we are seeing errors as

Error 404. The requested page (/scheduletask/runtask) was not found

We don't have any plugins. All of them are the default plugins.

For example Send emails has type as Nop.Services.Messages.QueuedMessagesSendTask, Nop.Services and enabled. But this is not triggering automatically. Manual run works but automated run doesn't work.

Please advise what might be wrong.



You need to remove Nop.Services  from type - Nop.Services.Messages.QueuedMessagesSendTask, Nop.Services and it'll work.
3 年 前
For more detail, review this post