# Summary

Runs cron jobs individually in parallel using configurable rules, pool management and load balancing.

# Project URL

https://www.drupal.org/project/ultimate_cron

# Where is the code?

https://www.drupal.org/project/ultimate_cron

# Estimated completion date

Unknown.

# Dependencies

None

# Who's doing the port?

MD Systems

# What help do they need?

Testing, fixing bugs, porting missing features

# D8 roadmap

#2233283: Port Ultimate Cron to Drupal 8

# Background and reference information

Comments

giancarlosotelo created an issue. See original summary.

webchick’s picture

Title: Ultimate Cron » [ultimate_cron] Ultimate Cron
Berdir’s picture

Issue summary: View changes

The code is now back on d.o :)

Berdir’s picture

Status: Needs work » Needs review
lxsnzx@163.com’s picture

Hi Berdir,In drupal 7 I just use hook_cronapi() to create my own cron job,But I don't konw how to create a cron job in drupal 8,Could you tell me the brief step,thanks

frederickjh’s picture

Hi @Liu Xin!

This is not really the place for a support request. Better to create an issue in the project's issue queue. The answer is on the project page.

In fact, all options are optional, so the most minimal way of declaring a new cronjob is:

/**
 * Implements hook_cronapi().
 */
function example_cronapi() {
  $items = array();
  $items['example_my_cron_job'] = array();
  return $items;
}

/**
 * The callback for the cron job,
 */
function example_my_cron_job($job) {
}