test cron with redirect stderr