• Overview
    Frameworks
    • Drupal
    • WordPress
    • Symfony
    • Magento
    • See all frameworks
    Features
    • Observability
    • Auto-scaling
    Solutions
    • Marketing Teams
    • Retail
    • Higher Education
  • Pricing
  • Featured articles
    • Switching to Platform.sh can help IT/DevOps organizations drive 219% ROI
    • Organizations, the ultimate way to manage your users and projects
  • Support
  • Docs
  • Contact
  • Login
  • Free Trial
Blog
Cover image

We’ve lowered our cron minimal interval to one minute

cron
February 04, 2021
Augustin Delaporte
Augustin Delaporte
Director of Fleet & Enterprise

Five minutes may not seem like much time. (Unless, of course, someone asks you to hold your breath for that long.) But when it comes to scheduling cron jobs, a configuration limit of five minutes can seem interminable. Especially if your applications require or even assume that your crons run every minute.

So for those of you who have been holding your breath waiting for Platform.sh to lower our five-minute minimal interval on cron job scheduling, we’re pleased to announce that you can now define a cron schedule down to one minute for your new Enterprise and Elite projects. Existing Enterprise and Elite projects can get the new minimal interval via a support ticket.

The lines that save time

Scheduling crons jobs is simple on Platform.sh. You define the cron jobs in your Platform.sh application directly within your .platform.app.yaml file. For example, you could configure a Magento 2 application as follows:

# Magento 2 cron job running every minute.
crons:
  cronrun:
    spec: "* * * * *"
    cmd: "php bin/magento cron:run"

You can read more about how to use crons to schedule tasks in your Platform.sh applications in our documentation.

Get the latest Platform.sh news and resources
Subscribe

Related Content

Cover image

We’re increasing the default cron jitter from 5 to 20 minutes

5
3
5
2
8
Deployments this week (including Fridays!)

Company

AboutSecurity and complianceTrust CenterBoard and investorsCareersPressContact us
5
3
5
2
8
Deployments this week (including Fridays!)
System StatusPrivacyTerms of ServiceImpressumWCAG ComplianceManage your cookie preferencesReport a security issue
© 2022 Platform.sh. All rights reserved.
Supported by Horizon 2020's SME Instrument - European Commission 🇪🇺