Sympa::Spool::Task(3Sympa)
π Sympa::Spool::Task(3Sympa) π
okay bestie, gather round, because this is the manual page for Sympa::Spool::Task β that's a section 3 library page from the sympa project, and we're living in version 6.2.80. it's the spool for tasks, and no, that's not as boring as it sounds. it's giving β¨infrastructureβ¨.
β¨ NAME β¨
Sympa::Spool::Task β the spool for tasks π
literally what it says on the tin. it's where tasks hang out.
π SYNOPSIS π
use Sympa::Spool::Task;
my $spool = Sympa::Spool::Task->new;
$spool->store($task);
my ($task, $handle) = $spool->next;
see how cute that is? you make a spool, you shove a task in, you pull one back out. chef's kiss π«Ά
π DESCRIPTION π
Sympa::Spool::Task implements the spool for tasks. that's the whole vibe. it's a spool, it holds tasks, it's iconic.
π¦ Methods π¦
also go peek at "Public methods" in Sympa::Spool β that's the family it belongs to, iykyk.
next ( [ no_filter => 1 ], [ no_lock => 1 ] )β pulls the next task out. the order is decided by thedateelement of the file name. and listen: ifno_filterisn't set, then messages whose date is newer than the current time get skipped. future tasks, not your problem yet, periodt.
also lowkey the whole system works because all the necessary tasks are created and stored into the spool in advance. no cap.
quarantine ( $handle )β removes a task. it's literally the same asremove(). and heads up: this spool does not have abad/subdirectory, so don't go looking for one bestie π
πΈ Context and metadata πΈ
you can also check "Marshaling and unmarshaling metadata" in Sympa::Spool for the general tea.
this class in particular hands over the following metadata:
{date}β Unix time when the task will be executed at the next time. β°{label}β TBD.{model}β TBD.
(yes, two of them are literally just TBD. not me leaving them exactly as they are π)
π CONFIGURATION PARAMETERS π
the following site configuration parameters in sympa.conf will be referred. yes, will be referred, not copied, it's fine.
queuetaskβ Directory path of task spool. π
π₯ SEE ALSO π₯
task_manager(8)- Sympa::Spool
- Sympa::Task
go read those, they're the friend group.
β HISTORY β
Sympa::Spool::Task appeared on Sympa 6.2.37b.2. a little baby spool. they grow up so fast π
and that's a wrap bestie π this was Sympa::Spool::Task(3Sympa) from sympa 6.2.80, dated 2026-10-19. go store some tasks, slay, and remember: future-dated ones are skipped unless you say otherwise. periodt. ππ¦β¨
π¦ where this page comes from
- fedora 43: sympa-devel-doc 6.2.80-2.fc43 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- fedora 44: sympa-devel-doc 6.2.80-2.fc44 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms