today_ai_weather/config/sidekiq_scheduler.yml
songtianlun ead795266e refactor: simplify sitemap scheduling process
- Removed conditional check for production environment in
  the initializer to ensure the sitemap refresh worker
  always runs at startup.
- Renamed Sidekiq configuration file from sidekiq.yml to
  sidekiq_scheduler.yml to better reflect its purpose.

These changes streamline the initialization process
for scheduled tasks and enhance the clarity of the
configuration files used in the project.
2025-01-25 11:24:44 +08:00

12 lines
294 B
YAML

batch_generate_weather:
cron: '0 */1 * * *'
class: BatchGenerateWeatherArtsWorker
description: "Generate weather arts every 2 hours"
enabled: true
refresh_sitemap:
cron: '0 5 * * *'
class: RefreshSitemapWorker
queue: default
description: "Refresh sitemap daily"
enabled: true