Chapter 8. Managing scheduled tasks with Chronos

This chapter covers

  • Installing and configuring Chronos
  • Creating scheduled tasks
  • Observing task output and alerting on failures

In a traditional Linux operating system, the Cron daemon is responsible for time-based execution of commands or scripts, commonly referred to as Cron jobs. If you consider Mesos to be the “distributed systems kernel” as it’s described on the project’s website, Chronos is the Mesos equivalent of the Cron system: it handles time-based scheduling of jobs (tasks) on a Mesos cluster. If you want to have an arbitrary command run on the Mesos cluster, you need to specify the schedule and the amount of CPU and memory the job needs.

This chapter introduces you to Chronos, ...

Get Mesos in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.