Fix cronjob month calculation
authorMorik <Sebastian.Zimmer@gmx.net>
Sat, 7 Jan 2017 16:22:03 +0000 (17:22 +0100)
committerGitHub <noreply@github.com>
Sat, 7 Jan 2017 16:22:03 +0000 (17:22 +0100)
commit7c69c6f7f12cd035db57b693bfc411a9130d5d3d
treea33ea1761a2d0c0add25362229f8effc10695f51
parentbca0c4c59dc6e2871663b4ed8c776a52e89061b4
Fix cronjob month calculation

The current calculation ignores given months, this is fixxed with this pull request.
To detect any issues with the new implementation i'll run several tests without any differences with the currently used cronjobs used by the wsc.
https://gist.github.com/Morik/27804aaa57916150dd08268cd8e224d8
Running those tests took quite a while but there have been no differences for all calculations without a month selection so this fix should have no problems with them.
It also allows some exotic cronjobs like the 29. February etc.
wcfsetup/install/files/lib/util/CronjobUtil.class.php