Fixes #5441: don't use cron on windows

The duplication here is just awful! These two lines are pretty much identical - please don't duplicate stuff. Just rework the existing one to fit and use a simple ```android|windows``` condition please.