Edit on GitHub
Jump to docs navigation

Nut command / Cron / cron

Note: You are currently reading the documentation for Bolt 3.7. Looking for the documentation for Bolt 5.2 instead?

Nut's cron command is responsible for triggering Bolt's scheduled task running service, Cron.

For details on setting up Cron, see the Task Scheduler section of the documentation

Usage

    php ./app/nut cron [options]

Options

Option Description
--run=RUN Run a particular interim's jobs

The optional interim names you can use with --run are:

  • cron.Hourly
  • cron.Daily
  • cron.Weekly
  • cron.Monthly
  • cron.Yearly

Example

Run tasks scheduled hourly

$ php ./app/nut cron --run=cron.Hourly
Running Cron Hourly Jobs

Cron run!


Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.