Did I find the right examples for you? yes no

All Samples(6)  |  Call(5)  |  Derive(0)  |  Import(1)

src/s/t/statusboard-HEAD/statusboard/settings.py   statusboard(Download)
 
from datetime import timedelta
from statusboard.core.schedules import tick_schedule
 
BROKER_BACKEND = 'redis'
    'plugin-tick-1': {
        'task': 'statusboard.core.tasks.plugin_ticks',
        'schedule': tick_schedule(minutes=1),
        'args': (1,),
    },
    'plugin-tick-5': {
        'task': 'statusboard.core.tasks.plugin_ticks',
        'schedule': tick_schedule(minutes=5),
    'plugin-tick-10': {
        'task': 'statusboard.core.tasks.plugin_ticks',
        'schedule': tick_schedule(minutes=10),
        'args': (10,),
    },
    'plugin-tick-30': {
        'task': 'statusboard.core.tasks.plugin_ticks',
        'schedule': tick_schedule(minutes=30),