Nop 4 Scheduletasks not running automatically

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 anni tempo fa
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.
6 anni tempo fa
Do you have a valid URL specified in admin area configuration -> store?

Please see here.

Moreover, did you see any error log under log?
6 anni tempo fa
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.
6 anni tempo fa
Did you checkthis?

Here, please follow last message that post.

May be it would be helpful.
6 anni tempo fa
Yes, i checked and as i said i have store name has name.com and store url has http://www.name.com

No luck.
6 anni tempo fa
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
6 anni tempo fa
Yeah.. Enjoy :-)
6 anni tempo fa
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)
6 anni tempo fa
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.
6 anni tempo fa
For more detail, review this post
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.