DOKK / manpages / debian 10 / sympa / Sympa::Spool::Task.3sympa.en
Sympa::Spool::Task(3Sympa) sympa 6.2.40 Sympa::Spool::Task(3Sympa)

Sympa::Spool::Task - Spool for tasks

  use Sympa::Spool::Task;
  my $spool = Sympa::Spool::Task->new;
  $spool->store($task);
  my ($task, $handle) = $spool->next;

Sympa::Spool::Task implements the spool for tasks.

See also "Public methods" in Sympa::Spool.

Order is controlled by date element of file name. if "no_filter" is not set, messages with date newer than current time are skipped.

All necessary tasks are created and stored into spool in advance.

Removes a task: The same as remove(). This spool does not have "bad/" subdirectory.

See also "Marshaling and unmarshaling metadata" in Sympa::Spool.

This class particularly gives following metadata:

{date}
Unix time when task will be executed at the next time.
{label}
{model}
TBD.

Following site configuration parameters in sympa.conf will be referred.

Directory path of task spool.

task_manager(8), Sympa::Spool, Sympa::Task.

Sympa::Spool::Task appeared on Sympa 6.2.37b.2.

2020-12-10 6.2.40