The Infamous Mr. CRON: Father Time's Black Sheep

ameeuwsen

CRON. To almost all Drupalers, CRON is something we know exists, but something we rarely use. This pseudo job scheduler has been claimed as "boring," "hard to understand," or even sometimes "unneeded." However, its black box voodoo stigma and the perplexities of CRON’s inner workings are the origins behind a developer’s distaste. Together, this session focuses on taking a deep dive into that dark abyss, finding some light, and surfacing with new knowledge for you as a developer. Together we will wrangle Mr. CRON back into the fold and start automating your Drupal life.

This session focuses on providing CRON knowledge, code examples, and demos. Some highlights of this session include:

  • What is CRON and why you should care about it?

  • How to implement your own CRON jobs using proper coding standards.

  • Taking basic CRON techniques and tailoring them to your exact needs.

  • Some best practices to build good CRON jobs and code.


This session is geared towards Drupal 8 developers who have a solid grasp on how Drupal 8 is wired and how the code is structured. To get the most from this session, participants are encouraged to follow along on their own computers with the provided example code and to clone the Drupal 8 site from the repo to come.

Session Track

Coding and Development

Experience Level

Intermediate

Drupal Version