Search for cron

  1. Search 7.x for cron
  2. Search 8.9.x for cron
  3. Search 10.3.x for cron
  4. Search 11.x for cron
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
cron service core/core.services.yml Drupal\Core\Cron
Cron class core/lib/Drupal/Core/ProxyClass/Cron.php Provides a proxy class for \Drupal\Core\Cron.
Cron class core/lib/Drupal/Core/Cron.php The Drupal core Cron service.

All search results

Title Object type File name Summary
CronQueueTestDatabaseDelayException::DELAY_INTERVAL constant core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestDatabaseDelayException.php
CronQueueTestDatabaseDelayException::processItem function core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestDatabaseDelayException.php
CronQueueTestException class core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestException.php Plugin annotation

@QueueWorker(
id = "cron_queue_test_exception",
title = @Translation("Exception test"),
cron = {"time" = 1}
)
CronQueueTestException.php file core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestException.php
CronQueueTestException::processItem function core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestException.php
CronQueueTestLeaseTime class core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestLeaseTime.php Plugin annotation

@QueueWorker(
id = "cron_queue_test_lease_time",
title = @Translation("Lease time test"),
cron = {"time" = 100}
)
CronQueueTestLeaseTime.php file core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestLeaseTime.php
CronQueueTestLeaseTime::processItem function core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestLeaseTime.php
CronQueueTestMemoryDelayException class core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestMemoryDelayException.php A queue worker for testing cron exception handling.
CronQueueTestMemoryDelayException.php file core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestMemoryDelayException.php
CronQueueTestMemoryDelayException::processItem function core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestMemoryDelayException.php
CronQueueTestRequeueException class core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestRequeueException.php Plugin annotation

@QueueWorker(
id = "cron_queue_test_requeue_exception",
title = @Translation("RequeueException test"),
cron = {"time" = 60}
)
CronQueueTestRequeueException.php file core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestRequeueException.php
CronQueueTestRequeueException::processItem function core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestRequeueException.php
CronRunTest class core/modules/system/tests/src/Functional/System/CronRunTest.php Tests cron runs.
CronRunTest.php file core/modules/system/tests/src/Functional/System/CronRunTest.php
CronRunTest::$defaultTheme property core/modules/system/tests/src/Functional/System/CronRunTest.php The theme to install as the default for testing.
CronRunTest::$modules property core/modules/system/tests/src/Functional/System/CronRunTest.php Modules to enable.
CronRunTest::testAutomatedCron function core/modules/system/tests/src/Functional/System/CronRunTest.php Ensure that the automated cron run module is working.
CronRunTest::testCronExceptions function core/modules/system/tests/src/Functional/System/CronRunTest.php Make sure exceptions thrown on hook_cron() don't affect other modules.
CronRunTest::testCronRun function core/modules/system/tests/src/Functional/System/CronRunTest.php Tests cron runs.
CronRunTest::testCronUI function core/modules/system/tests/src/Functional/System/CronRunTest.php Make sure the cron UI reads from the state storage.
CronRunTest::testManualCron function core/modules/system/tests/src/Functional/System/CronRunTest.php Ensure that the manual cron run is working.
CronRunTrait trait core/tests/Drupal/Tests/Traits/Core/CronRunTrait.php Adds ability to run cron from tests.
CronRunTrait.php file core/tests/Drupal/Tests/Traits/Core/CronRunTrait.php
CronRunTrait::cronRun function core/tests/Drupal/Tests/Traits/Core/CronRunTrait.php Runs cron on the test site.
CronTest class core/tests/Drupal/Tests/Core/CronTest.php Tests the Cron class.
CronTest.php file core/tests/Drupal/Tests/Core/CronTest.php
CronTest::$claimTime property core/tests/Drupal/Tests/Core/CronTest.php Define the duration of each item claim for this test.
CronTest::$cron property core/tests/Drupal/Tests/Core/CronTest.php An instance of the Cron class for testing.
CronTest::$queue property core/tests/Drupal/Tests/Core/CronTest.php The queue used to store test work items.
CronTest::$state property core/tests/Drupal/Tests/Core/CronTest.php The current state of the test in memory.
CronTest::processQueuesTestData function core/tests/Drupal/Tests/Core/CronTest.php Data provider for ::testProcessQueues() method.
CronTest::REQUEUE_COUNT constant core/tests/Drupal/Tests/Core/CronTest.php
CronTest::resetTestingState function core/tests/Drupal/Tests/Core/CronTest.php Resets the testing state.
CronTest::setUp function core/tests/Drupal/Tests/Core/CronTest.php
CronTest::testProcessQueues function core/tests/Drupal/Tests/Core/CronTest.php Tests the ::processQueues() method.
CronTest::testRequeueException function core/tests/Drupal/Tests/Core/CronTest.php Verify that RequeueException causes an item to be processed multiple times.
cron_queue_test.info.yml file core/modules/system/tests/modules/cron_queue_test/cron_queue_test.info.yml core/modules/system/tests/modules/cron_queue_test/cron_queue_test.info.yml
d6_system_cron.yml file core/modules/system/migrations/d6_system_cron.yml core/modules/system/migrations/d6_system_cron.yml
d7_system_cron.yml file core/modules/system/migrations/d7_system_cron.yml core/modules/system/migrations/d7_system_cron.yml
DbLogTest::runCron function core/modules/dblog/tests/src/Kernel/DbLogTest.php Runs cron and returns number of new log entries.
DbLogTest::testDbLogCron function core/modules/dblog/tests/src/Kernel/DbLogTest.php Tests that cron correctly applies the database log row limit.
dblog_cron function core/modules/dblog/dblog.module Implements hook_cron().
DeleteTest::testCronDeleteNonExistingTemporary function core/modules/file/tests/src/Kernel/DeleteTest.php Tries to run cron deletion on file deleted from the file-system.
field_cron function core/modules/field/field.module Implements hook_cron().
file_cron function core/modules/file/file.module Implements hook_cron().
history_cron function core/modules/history/history.module Implements hook_cron().
hook_cron function core/core.api.php Perform periodic actions.
layout_builder_cron function core/modules/layout_builder/layout_builder.module Implements hook_cron().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.