"""Timed default devop tasks for the system."""
# Standard Library
import logging

# Websauna
from websauna.system.task.tasks import task


logger = logging.getLogger(__name__)


@task(name="backup")
def backup_task():
    from . import backup
    logger.info("Running daily backup")
    backup.backup_site()
    logger.info("Daily backup done")

9eeb60a6264f9aab77e87ba923e0f7e30f450a34
<mask token>

<mask token>


@task(name='backup')
def backup_task():
    from . import backup
    logger.info('Running daily backup')
    backup.backup_site()
    logger.info('Daily backup done')

<mask token>
logger = logging.getLogger(__name__)


@task(name='backup')
def backup_task():
    from . import backup
    logger.info('Running daily backup')
    backup.backup_site()
    logger.info('Daily backup done')

<mask token>
import logging
from websauna.system.task.tasks import task
logger = logging.getLogger(__name__)


@task(name='backup')
def backup_task():
    from . import backup
    logger.info('Running daily backup')
    backup.backup_site()
    logger.info('Daily backup done')

"""Timed default devop tasks for the system."""
# Standard Library
import logging

# Websauna
from websauna.system.task.tasks import task


logger = logging.getLogger(__name__)


@task(name="backup")
def backup_task():
    from . import backup
    logger.info("Running daily backup")
    backup.backup_site()
    logger.info("Daily backup done")
