Skip to content

Removing job from recurring.yml does not remove job from recurring tasks tab in mission control #623

@seamusn

Description

@seamusn

I'm testing a recurring job in development which works fine but when I comment it out or remove it from recurring.yml and restart the system, it still appears in the recurring tasks tab of mission control. From my understanding it should be removed especially with this change #433? I still see the job when I run SolidQueue::RecurringTask.static

We are new to solid_queue so we may have set something up incorrectly. We are using v1.2.1 and Rails 7.1.5.1. We are using the single database configuration and starting solid_queue with foreman (didnt set up the puma plugin).

Image
# config/recurring.yml
production:
  stats_import_yesterday_job:
    class: StatsImportYesterdayJob
    schedule: "at 12:05am every day"
staging:
  stats_import_yesterday_job:
    class: StatsImportYesterdayJob
    schedule: "at 12:05am every day"
dev:
  stats_import_yesterday_job:
    class: StatsImportYesterdayJob
    schedule: "at 12:05am every day"
#development:
#  stats_import_yesterday_job:
#    class: StatsImportYesterdayJob
#    schedule: "every minute"

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