1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Workers.ScheduledActivityWorker do
6 use Pleroma.Workers.WorkerHelper, queue: "scheduled_activities"
9 def perform(%{"op" => "execute", "activity_id" => activity_id}, _job) do
10 Pleroma.Daemons.ScheduledActivityDaemon.perform(:execute, activity_id)