Class: Falqon::CLI::Schedule

Inherits:
Base
  • Object
show all
Defined in:
lib/falqon/cli/schedule.rb

Overview

Schedule failed messages for a retry

This command moves all eligible messages from the scheduled queue back to the head of the pending queue (in order). Messages are eligible for a retry according to the configured retry strategy.

Usage:

falqon schedule -q, --queue=QUEUE

Options:

-q, --queue=QUEUE  # Queue name

Examples:

Schedule eligible failed messages for retry

$ falqon schedule --queue jobs
Scheduled 3 messages for a retry in queue jobs