from celery.schedules import crontab

# Define the Celery beat schedule here
beat_schedule = {
    'update-tenant-usages-every-hour': {
        'task': 'update_usages',
        'schedule': crontab(minute='0'),  # Runs every hour
        'args': (),
        'options': {'queue': 'entitlements'}
    },
    # 'send-invoices-every-month': {
    #     'task': 'send_invoices',
    #     'schedule': crontab(day_of_month=1, hour=0, minute=0),  # Runs on the 1st of every month
    #     'args': ()
    # },
    # Add more schedules as needed
}
