smd-loop(1)
π smd-loop(1) β the manual, but make it cute
okay bestie, so you found smd-loop in the Sync Mail Dir (smd) docs and you're like "what is this little creature" β don't worry, I got you. pull up a chair, grab a strawberry π, and let's go.
β¨ NAME β¨
smd-loop β it's the one that iterates smd-pull and smd-push for you, on a loop, forever, like a lil hamster on a wheel but for your mail πΉπ
πΈ SYNOPSIS πΈ
that's it. that's the whole vibe check.
π DESCRIPTION π
so smd-loop runs smd-push and smd-pull at regular intervals β and you get to decide what "regular" means, because you define it yourself in the ~/.smd/loop configuration file. main character energy, honestly.
and here's the sweet part: on errors that are reported to be transient, it retries a second time before it actually fails. not me being dramatic and giving up on the first try β no, she tries again. π«Ά
The configuration file is line-oriented. Each line is composed of three space separated fields: pull-frequency, push-frequency and endpoint-name. The frequencies are expressed in minutes, while endpoint-name is a valid name for smd-pull(1) and smd-push(1).
Lines beginning with # are considered as comments. (yes queen, annotate your config, it's self care β¨)
The following example calls the command smd-pull default every 3 minutes, and smd-push default every 10. Example:
# pull-frequency push-frequency endpoint-name
3 10 default
look at her. three minutes, ten minutes, default. it's giving organized. it's giving scheduled. π₯
π OPTIONS π
-vβ Increase program verbosity (printed onstderr). so if you're nosy (affectionate) and you want to see what's happening under the hood, this is your girl. π£οΈ-tβ Just create a template configuration file if none. aka: set it up for me bestie, I'll fill in the blanks later π
π FILES π
~/.smd/loopβ the config file where all the scheduling magic lives. your little home for all your frequencies. π π
π¦ SEE ALSO π¦
mddiff(1), smd-server(1), smd-client(1), smd-push(1), smd-pull(1)
(the whole squad, fr fr π)
π AUTHOR π
Enrico Tassi <gares@fettunta.org> β the icon, the legend, the moment. π
and that's the page bestie!! π written by the smd crew for the Sync Mail Dir (smd) documentation, dated 21 April 2021, and yes the footer says smd-loop(1) one more time because she loves a dramatic entrance and exit. periodt. π
β¨π¦
π¦ where this page comes from
- ubuntu jammy: syncmaildir 1.3.0-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms