I have created a task that syncs orders from nopcommerce into Sage but I've found an issue with the task running multiple times.
The issue happens if i manually run the sync and the task runs on the schedule service at the same time.
Is there a way to check if the task is already running?