The current Midgard cron runner (/usr/share/midgard/setup/php/midgard_cron.php) queries for hosts in the database and performs cron runs for them. As MidCOM cron is designed to run only once per sitegroup (see #815), there can be the following problem:
- Cron is run for the staging database (in my case with option -c midgardstaging)
- Cron seeks hosts
- Cron finds the *live* host of a website first in the list
- Since other hosts of the SG are skipped, that is the only host found
- The cron request to live host is done via HTTP, and cron thinks it complete based on the fact that it succeeded
- Staging cron never got run