Corrected stuppid typo (% signs must be escaped in cron) and add logging.