smd-loop(1)

πŸ“¦
version 1.3.0 Β· 2 versions
, in ubuntu jammy

πŸ’Œ 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 on stderr). 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