I am trying to run a django background task every 30 seconds, as a test I'm having it print "hello", but instead of printing every 30 seconds it is printing about every second or less very quickly. Here is my code currently:
from background_task import background
from datetime import timedelta, datetime
@background(schedule=datetime.now())
def subscription_job():
print("hello")
subscription_job(repeat=30)