Skip to content

feat(regulatory): Railway cron — schedule seed-regulatory-actions.mjs every 2h #2495

@koala73

Description

@koala73

Context

Part of the Regulatory RSS pipeline. Final wiring step — depends on #2492, #2493, #2494 being merged and deployed.

This is task 4/4.

What to do

Add a 2-hour cron entry for seed-regulatory-actions.mjs to the Railway cron service configuration.

  • Script: node scripts/seed-regulatory-actions.mjs
  • Schedule: every 2 hours (0 */2 * * *)
  • Rationale: Redis TTL is 7200s (2h). Cron at 2h = 1× cadence with no gap window. Regulatory actions don't change by the minute — 2h is appropriate.

Acceptance criteria

  • Cron job runs every 2 hours in Railway
  • regulatory:actions:v1 key is populated in Redis after first successful run
  • seed-cross-source-signals.mjs picks up the key on next run (30min cadence) and emits REGULATORY_ACTION signals when HIGH/MEDIUM-tier actions are present

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: infrastructureCables, pipelines, power grids, cyber threatsenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions