Fix the daily email digest job which was not executing
This commit is contained in:
parent
799199f6b5
commit
01ced6bea2
2 changed files with 10 additions and 0 deletions
1
changelog.d/email_digest.fix
Normal file
1
changelog.d/email_digest.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fix the daily email digest job which was not executing
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
defmodule Pleroma.Repo.Migrations.CleanupStaleDigestEmailJobs do
|
||||
use Ecto.Migration
|
||||
|
||||
def up do
|
||||
execute(
|
||||
"DELETE from oban_jobs WHERE queue = 'mailer' AND worker = 'Pleroma.Workers.Cron.DigestEmailsWorker'"
|
||||
)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue