You are here

function elasticsearch_connector_cron in Elasticsearch Connector 7

Same name and namespace in other branches
  1. 8.7 elasticsearch_connector.module \elasticsearch_connector_cron()
  2. 8 elasticsearch_connector.module \elasticsearch_connector_cron()
  3. 8.2 elasticsearch_connector.module \elasticsearch_connector_cron()
  4. 8.5 elasticsearch_connector.module \elasticsearch_connector_cron()
  5. 8.6 elasticsearch_connector.module \elasticsearch_connector_cron()
  6. 7.5 elasticsearch_connector.module \elasticsearch_connector_cron()
  7. 7.2 elasticsearch_connector.module \elasticsearch_connector_cron()

Implements hook_cron()

File

./elasticsearch_connector.module, line 33
This module provide an interface to connecting to the elasticsearch cluster and implementing the official Elasticsearch library.

Code

function elasticsearch_connector_cron() {

  // TODO: Check cluster node state and update cluster nodes if any changes.
  // Do this only if we have auto-node update configuration enabled.
  // The default state of the auto mode will be activeated!
}