diff --git a/orchestra/bin/orchestra-beat b/orchestra/bin/orchestra-beat index 5bed7c52..13197f4b 100755 --- a/orchestra/bin/orchestra-beat +++ b/orchestra/bin/orchestra-beat @@ -120,7 +120,7 @@ def fire_pending_messages(settings, db): return bool(db.query(query)) if has_pending_messages(settings, db): - command = 'python3 -W ignore::DeprecationWarning {manage} send'.format(manage=manage) + command = 'python3 -W ignore::DeprecationWarning {manage} sendpendingmessages'.format(manage=manage) proc = run(command, async=True) yield proc diff --git a/orchestra/contrib/mailer/management/commands/send.py b/orchestra/contrib/mailer/management/commands/sendpendingmessages.py similarity index 100% rename from orchestra/contrib/mailer/management/commands/send.py rename to orchestra/contrib/mailer/management/commands/sendpendingmessages.py