<% content_for :title, "Background jobs" %>

Background jobs

<%= render 'settings/navigation' %>

Start Reverse Geocoding

This job will re-run reverse geocoding process for all the points in your database. Might take a few days or even weeks based on the amount of points you have!

<%= link_to 'Start Job', settings_background_jobs_path(job_name: 'start_reverse_geocoding'), method: :post, data: { confirm: 'Are you sure?', turbo_confirm: 'Are you sure?', turbo_method: :post }, class: 'btn btn-primary' %>

Continue Reverse Geocoding

This job will process reverse geocoding for all points that don't have geocoding data yet.

<%= link_to 'Start Job', settings_background_jobs_path(job_name: 'continue_reverse_geocoding'), method: :post, data: { confirm: 'Are you sure?', turbo_confirm: 'Are you sure?', turbo_method: :post }, class: 'btn btn-primary' %>

Background Jobs Dashboard

This will open the background jobs dashboard in a new tab.

<%= link_to 'Open Dashboard', '/sidekiq', target: '_blank', class: 'btn btn-primary' %>