freight: Use local variable in cron loop