schedules.py 303 B

123456789
  1. # -*- coding: utf-8 -*-
  2. from __future__ import absolute_import
  3. import warnings
  4. from ..schedules import schedule, crontab_parser, crontab # noqa
  5. from ..exceptions import CDeprecationWarning
  6. warnings.warn(CDeprecationWarning(
  7. "celery.task.schedules is deprecated and renamed to celery.schedules"))