Hello,

I have a cron script that updates commerce order statuses.

I have a multi-site setup on one drupal install/configuration.

Each site is a e-commerce site that receives orders.

When my cron executes a function from my custom module, it will not access the commerce order entity since the cron is running from a different domain that the order was from.

So www.domain.com/cron.php?key=key will try to view and update an order made from www.domaintwo.com, but it will not work. I'm thinking this is a domain access issue and that the "Treat cron.php as a special page request " does not bypass the permissions.

Any idea how I can work around this? Is this a bug?

Thanks,
Anthony

Comments

agentrickard’s picture

Status: Active » Closed (duplicate)