onestylecomua (onestylecomua) wrote in mydrupalcoua,
onestylecomua
onestylecomua
mydrupalcoua

Модуль: Job Scheduler

Simple API for scheduling tasks once at a predetermined time or periodically at a fixed interval.

Usage

Add a job:

Execute a job on callback:

Remove a job:

Drupal Queue integration

If Drupal Queue is installed, tasks are dispatched to the queue rather than executed. Hence worker callbacks need to be declared to DrupalQueue via hook_cron_queue_info().

Example

See Feeds issue: #908964: Break out job scheduler.

Дата:


...скачать или полностью прочитать статью можно на http://mydrupal.co.ua/node/1044
Tags: mydrupal.co.ua
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 0 comments