Generalise schedule to cron-based.

Fixes #3