GEARMAN_TASK_ATTR_INIT_EPOCH(3)
β¨ NAME β¨
gearman_task_attr_init_epoch β the Gearmand Documentation page, bestie, live at http://gearman.info/ π
πΈ SYNOPSIS πΈ
Okay so first, include this, no skipping:
#include <libgearman/gearman.h>
Then the types and the functions, look:
type gearman_work_t
type gearman_job_priority_t
gearman_work_t gearman_work(gearman_job_priority_t priority)
gearman_work_t gearman_work_epoch(time_t <#c.time_t> epoch,
gearman_job_priority_t priority)
gearman_work_t gearman_work_background(gearman_job_priority_t priority)
And when you build it, you Compile and link with -lgearman. Do not forget that part, that's the whole vibe, it literally will not link without it. π
π¦ DESCRIPTION π¦
So gearman_work_t describes work for gearman_execute() <#c.gearman_execute>. That's the assignment, that's the plot of the whole page.
gearman_work() creates a gearman_work_t with a priority. Just a plain little work thing with a priority. Cutie.
gearman_work_epoch() creates a gearman_work_t which tells gearman_execute() <#c.gearman_execute> to execute the workload at the time specified by epoch. So like... schedule it, bestie, that's the tea. β°
gearman_work_background() creates a gearman_work_t which tells gearman_execute() <#c.gearman_execute> to execute the workload as a background job. She goes off and does her own thing in the background. Main character energy fr. π
π«Ά SEE ALSO π«Ά
Go read these too, the lore is deeper than one page:
gearmand(8)libgearman(3)gearman_execute()
π Author
Data Differential β http://www.datadifferential.com/ (that's the author credit, characters exactly as written π)
π Copyright
2011-2014, Data Differential, http://www.datadifferential.com/
Okay bestie that's the whole page, no notes, you're gonna slay. This was Gearmand manual page GEARMAN_TASK_ATTR_INIT_EPOCH(3), version 1.1.21+ds, dated Feb 04, 2026 β mwah, bye, go execute some work π
β¨
π¦ where this page comes from
- ubuntu resolute: libgearman-dev 1.1.21+ds-1ubuntu3 Β· BSD-3-Clause
- ubuntu stonking: libgearman-dev 1.1.21+ds-1ubuntu3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms