bugfix: only install crontab when scheduler is crontab