I have NopCommerce 4.3 running on Mochahost shared hosting.
All scheduled tasks that are enabled are not being invoked automatically, and will run successfully upon clicking "Run Now".
I can see the email messages in the queue and once I click "Run Now" for the send emails task, the emails will be sent successfully.
I tried hardly to find a real documentation about the scheduled tasks, how are they installed, how do they get invoked? i guess i got bits and pieces from the various forum posts, that each scheduled task is a new thread running in the background that was created when the task was created! I'm not sure if that is it or there is something else to know.
I contacted Mochahost support to check if multi-threading is allowed on my host, they said yes and that they want more details about the task to replicate the error, unfortunately, i don't have any more information.
is there any real help to that part of NopCommerce?
I have the same problem. One year worked fine. Before 2 days stop working without any reason. No errors in logs. Checked site name and store name they are identical. When I pressing https://www.xxxxxxxx.eu/Admin/ScheduleTask/RunNow/1 it sends emails perfectly. But scheduler doesn't work. Some info from the log: info: System.Net.Http.HttpClient.default.ClientHandler[100] Sending HTTP request POST https://www.jsm.lt/scheduletask/runtask info: System.Net.Http.HttpClient.default.ClientHandler[101] Received HTTP response after 111.0211ms - ServiceUnavailable
You also have to update the dbo_ScheduleTask table, Type field Delete the , Nop.services part from Nop.Services.Directory.UpdateExchangeRateTask, Nop.Services So it become Nop.Services.Directory.UpdateExchangeRateTask Nop.Services.Logging.ClearLogTask Nop.Services.Caching.ClearCacheTask Nop.Services.Customers.DeleteGuestsTask Nop.Services.Common.KeepAliveTask Nop.Services.Messages.QueuedMessagesSendTask
These are OK already: Nop.Plugin.Misc.Sendinblue.Services.SynchronizationTask Nop.Plugin.Tax.Avalara.Services.DownloadTaxRatesTask
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.