Check crontab before editing and actually edit crontab