Skip to content

Manually running Scheduled Jobs

Matt Roth edited this page Oct 14, 2022 · 5 revisions

In Frontend

Requirements

  • Feature toggle async_manual_start is enabled
  • Logged in as a System Admin user

Usage

  • Go to <env>/jobs
    • If in a demo or local env
      • Go to <env>/test/users or Switch Users
      • Click Miscellaneous
      • Click Jobs
  • Go to Scheduled Jobs tab
  • Click Perform Now for the desired job
  • A notification will appear after job is done

Screen Shot 2022-09-23 at 11 36 18 AM

From Rails Console

RequestStore[:current_user] = User.system_user
job.perform_now
# Where job is the class name of the desired job

Additional Reading

Clone this wiki locally