Improved crontab handling