only install cron task if using solr