Fixed cronjob execution

Fixes #906
Fixes #910
Merge branch 'master' of github.com:WoltLab/WCF