crontab: handle exceptions