periodic_billing раз в 3 часа

remotes/origin/revert-6d879fe8
wad 8 years ago
parent ad10e269d8
commit 25a4de0ed0
  1. 5
      lms/celery.py

@ -21,9 +21,8 @@ register_signal(client)
app.conf.beat_schedule = {
'periodic_billing': {
'schedule': crontab(day_of_month='1', hour='1', minute='1'), # заглушка на время отладки
# 'schedule': crontab(minute='*/1'),
# crontab(minute='0',hour='*/3',),
# 'schedule': crontab(day_of_month='1', hour='1', minute='1'), # заглушка на время отладки
'schedule': crontab(minute='0', hour='*/3',),
'task': 'finance.tasks.periodic_billing'
}
}

Loading…
Cancel
Save