Fix small bug with cron entries (#6384)