I've configured a Minion for my Sitecore Commerce solution. We're on 8.2.1.
It's set up like this:
{
"$type": "XYZ.Commerce.Plugin.Custom.Policies.QueuePolicy, XYZ.Commerce.Plugin.Custom",
"ConnectionString": "[redacted]",
"WakeupInterval": "00:05:00",
"QueueName": "preprod",
"Models": {
"$type": "System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Model, Sitecore.Commerce.Core]], mscorlib",
"$values": [
]
}
}
I've been following this guide: https://websterian.com/2017/06/08/sitecore-commerce-erp-integration-an-approach-part-1-integrating-orders-and-customers/
Wherein it states:
Minions are designed to be run on schedule, the default is every five minutes but this can be changed in your environment file as per this example…
But this doesn't appear to be enough. My Minion still needs to be kickstarted via a post (as described elsewhere in the same linked article).
So I must be overlooking something. How can I ensure, my Minion is always up and running on a specified interval, in plain configuration?
commerceops/RunMinion()
call. If I don't make this PUT request (via Postman), the Minion never runs.MinionPolicy
attached to an environment will be run when the environment starts up (via a block on theIStartEnvironmentPipeline
). How is your MinionPolicy defined?