Module: Collavre::Crons::RecurringTaskArguments
- Included in:
- Tools::CronListService, Topics::OrphanedCronNotifier
- Defined in:
- app/services/collavre/crons/recurring_task_arguments.rb
Overview
Shared parsing for SolidQueue::RecurringTask records that back our crons.
The cron's creative_id/topic_id/agent_id/message live inside the task's
arguments JSON (an array whose first element is the keyword hash), and
the creative id is also encoded in the key as cron_<creative_id>_<hex>.
Included by CronListService and Topics::OrphanedCronNotifier so the arguments format is parsed in exactly one place.