Fix crontask according to Elie's IRC report