 Celery 2.2 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise means the schedule does not have to be synchronized, and the service can operate without using locks. Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) }, } Using a timedelta for the schedule means the0 码力 | 505 页 | 878.66 KB | 1 年前3 Celery 2.2 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise means the schedule does not have to be synchronized, and the service can operate without using locks. Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) }, } Using a timedelta for the schedule means the0 码力 | 505 页 | 878.66 KB | 1 年前3
 Celery 2.3 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise means the schedule does not have to be synchronized, and the service can operate without using locks. Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) }, } Using a timedelta for the schedule means the0 码力 | 530 页 | 900.64 KB | 1 年前3 Celery 2.3 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise means the schedule does not have to be synchronized, and the service can operate without using locks. Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) }, } Using a timedelta for the schedule means the0 码力 | 530 页 | 900.64 KB | 1 年前3
 Celery 2.4 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise the schedule does not have to be synchronized, and the service can operate without using locks. 2.5.2 Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting timedelta CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) }, } Using a timedelta for the schedule means the task will be0 码力 | 395 页 | 1.54 MB | 1 年前3 Celery 2.4 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise the schedule does not have to be synchronized, and the service can operate without using locks. 2.5.2 Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting timedelta CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) }, } Using a timedelta for the schedule means the task will be0 码力 | 395 页 | 1.54 MB | 1 年前3
 Celery 2.4 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise means the schedule does not have to be synchronized, and the service can operate without using locks. Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting 30 seconds. from datetime import timedelta CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) },0 码力 | 543 页 | 957.42 KB | 1 年前3 Celery 2.4 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise means the schedule does not have to be synchronized, and the service can operate without using locks. Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting 30 seconds. from datetime import timedelta CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) },0 码力 | 543 页 | 957.42 KB | 1 年前3
 Celery 2.1 DocumentationManagement of Workers - celery.task.control HTTP Callback Tasks - celery.task.http Periodic Task Schedule Behaviors - celery.schedules Signals - celery.signals Exceptions - celery.exceptions Built-in Task from the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise means the schedule does not have to be synchronized, and the service can operate without using locks. Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting0 码力 | 463 页 | 861.69 KB | 1 年前3 Celery 2.1 DocumentationManagement of Workers - celery.task.control HTTP Callback Tasks - celery.task.http Periodic Task Schedule Behaviors - celery.schedules Signals - celery.signals Exceptions - celery.exceptions Built-in Task from the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise means the schedule does not have to be synchronized, and the service can operate without using locks. Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting0 码力 | 463 页 | 861.69 KB | 1 年前3
 Celery 2.5 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise means the schedule does not have to be synchronized, and the service can operate without using locks. Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting 30 seconds. from datetime import timedelta CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) },0 码力 | 647 页 | 1011.88 KB | 1 年前3 Celery 2.5 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise means the schedule does not have to be synchronized, and the service can operate without using locks. Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting 30 seconds. from datetime import timedelta CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) },0 码力 | 647 页 | 1011.88 KB | 1 年前3
 Celery 2.1 Documentationtask.http . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 9.10 Periodic Task Schedule Behaviors - celery.schedules . . . . . . . . . . . . . . . . . . . . . . . . . . 144 9.11 Signals from the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise the schedule does not have to be synchronized, and the service can operate without using locks. 2.5.2 Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting0 码力 | 285 页 | 1.19 MB | 1 年前3 Celery 2.1 Documentationtask.http . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 9.10 Periodic Task Schedule Behaviors - celery.schedules . . . . . . . . . . . . . . . . . . . . . . . . . . 144 9.11 Signals from the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise the schedule does not have to be synchronized, and the service can operate without using locks. 2.5.2 Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting0 码力 | 285 页 | 1.19 MB | 1 年前3
 Celery 2.2 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise the schedule does not have to be synchronized, and the service can operate without using locks. 2.5.2 Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting timedelta CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) }, } Using a timedelta for the schedule means the task will be0 码力 | 314 页 | 1.26 MB | 1 年前3 Celery 2.2 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise the schedule does not have to be synchronized, and the service can operate without using locks. 2.5.2 Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting timedelta CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) }, } Using a timedelta for the schedule means the task will be0 码力 | 314 页 | 1.26 MB | 1 年前3
 Celery 2.3 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise the schedule does not have to be synchronized, and the service can operate without using locks. 2.5.2 Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting timedelta CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) }, } Using a timedelta for the schedule means the task will be0 码力 | 334 页 | 1.25 MB | 1 年前3 Celery 2.3 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise the schedule does not have to be synchronized, and the service can operate without using locks. 2.5.2 Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting timedelta CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) }, } Using a timedelta for the schedule means the task will be0 码力 | 334 页 | 1.25 MB | 1 年前3
 Celery 2.5 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise the schedule does not have to be synchronized, and the service can operate without using locks. 2.5.2 Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting timedelta CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) }, } Using a timedelta for the schedule means the task will be0 码力 | 400 页 | 1.40 MB | 1 年前3 Celery 2.5 Documentationfrom the CELERYBEAT_SCHEDULE setting, but custom stores can also be used, like storing the entries in an SQL database. You have to ensure only a single scheduler is running for a schedule at a time, otherwise the schedule does not have to be synchronized, and the service can operate without using locks. 2.5.2 Entries To schedule a task periodically you have to add an entry to the CELERYBEAT_SCHEDULE setting timedelta CELERYBEAT_SCHEDULE = { "runs-every-30-seconds": { "task": "tasks.add", "schedule": timedelta(seconds=30), "args": (16, 16) }, } Using a timedelta for the schedule means the task will be0 码力 | 400 页 | 1.40 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6














