Task Running in wrong time

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
Great, Andrei.
6 years ago
a.m. wrote:
Fixed. Please see changeset 3f7a64c00e72. Thanks again for reporting

Hi Andrei,
I think it is still not working with nopCommerce 3.7.

A scheduled task is running at random. Not considering the "Last success date". The value for "Seconds (run period)" is set to 86400.
When the task runs it creates an information log called "Data import started" and another log called "Data import Completed".

See the following logs:
Log level  Short message  Created on  View
Information  Data import completed  7/5/2017 8:22:41 PM  View
Information  Data import started  7/5/2017 8:22:41 PM  View
Information  Application started  7/5/2017 8:17:41 PM  View
Information  Application started  7/4/2017 8:57:49 PM  View
Information  Application started  7/4/2017 8:13:15 PM  View
Information  Application started  7/4/2017 2:57:27 PM  View
Information  Data import started  7/4/2017 9:50:43 AM  View
Information  Application started  7/3/2017 9:50:43 AM  View
Information  Data import completed  7/3/2017 4:35:05 AM  View
Information  Data import started  7/3/2017 4:35:05 AM  View
Information  Application started  7/2/2017 4:35:05 AM  View
Information  Data import completed  7/1/2017 10:15:04 PM  View
Information  Data import started  7/1/2017 10:15:04 PM  View
Information  Data import completed  6/30/2017 11:25:42 PM  View
Information  Data import started  6/30/2017 11:05:10 PM  View

As per the log the process run at 6/30/2017 11:05:10 PM and then expected to run after 24hrs but it ran in 23hrs. The third run was 30hrs from the second run. The server and the site was online all the time.
Any idea what might be causing the issue?
3 years ago
Hi everyone.

We've released a new plugin that allows to schedule NopCommerce tasks using a CRON expression. No random executions.
Checkout the demo here https://ellasoftware.com/cron-tasks-nopcommerce
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.