I’ve been trying a few things with cron. Now I’m hoping someone can point me to any documentation on how cron rules should work. (eg. If I set up a rule to fire every X, should it fire every X, or are there design considerations that have forced the system to limit the occurrences of the events to something less than X?) My search of the wiki turned up nothing…
Go here http://crontab.guru to get the required configs for crontab. The only difference between openHAB and this site is that openHAB has a seconds placeholder on the left.
I second @steve1 's suggestion to look for Quartz examples. I do recall coming accross some strange behaviour which doesn’t match the operation of the normal posix cron.
Have a look at the few examples in the Sample Rules or here as these, coupled with the Cron Wiki page should get you going in the right direction (OpenHABs cron doesn’t do it all).