logic for the cronjob; better text; more docs