Skip to content

Upgrading to 1.1.1 makes recurring job to fail #468

@max-chem-eng

Description

@max-chem-eng

Ruby: 3.4.1
Rails: 8.0.1
solid_queue running as a plug_in
This simple recurring job fails:

production:
  periodic_cleanup:
    class: CloseTripsJob
    queue: background
    schedule: every hour

with this error:

10:48:03 web.1  | Invalid recurring tasks:
10:48:03 web.1  | - production: Schedule is not a supported recurring schedule, either command or class_name must be present
10:48:03 web.1  | Exiting...
10:48:07 web.1  | Detected Solid Queue has gone away, stopping Puma...

EDIT: it only fails if the only environment declared is production and trying to run the app in development

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions