diff --git a/games/apps.py b/games/apps.py index 07fcf2f..9443bc5 100644 --- a/games/apps.py +++ b/games/apps.py @@ -22,7 +22,7 @@ def schedule_tasks(sender, **kwargs): schedule( "games.convert_price.update_converted_prices", name="Update converted prices", - schedule_type=Schedule.HOURLY, + schedule_type=Schedule.MINUTES, next_run=now() + timedelta(seconds=30), ) diff --git a/games/management/commands/schedule_update_task.py b/games/management/commands/schedule_update_task.py index 6d40e78..50d970c 100644 --- a/games/management/commands/schedule_update_task.py +++ b/games/management/commands/schedule_update_task.py @@ -14,7 +14,7 @@ class Command(BaseCommand): schedule( "games.convert_price.update_converted_prices", name="Update converted prices", - schedule_type=Schedule.HOURLY, + schedule_type=Schedule.MINUTES, next_run=now() + timedelta(seconds=30), ) self.stdout.write(