wrong var in cronjob