I wanted to schedule a recurring action on my Linux machine recently and was reminded that timers have replaced crontab as the tool of choice. They’re really powerful, but I always have to look up how to use them.
I edit these so rarely, I have to look up the syntax for specifying when I’d like an action to happen. The last time I did this, I came across a handy one liner to help crafting these:
systemd-analyze calendar $CALENDAR_SPEC
This command is useful to “Validate repetitive calendar time events”
$ systemd-analyze calendar "*-*-* 01/4:49:00" Normalized form: *-*-* 01/4:49:00 Next elapse: Thu 2022-08-04 17:49:00 EDT (in UTC): Thu 2022-08-04 21:49:00 UTC From now: 2h 46min left
If that makes sense for the goal of the timer, you can safely put it in an
OnCalendar statement! Make sure you remember to run
systemctl --user daemon-reload to pick up the changes.
To check your configured timers, run:
systemctl --user list-timers
Nothing like some Tuvan folk music to soothe the soul.
New album hot off the presses and I’m really digging it!
Well, it happened. Despite being fully vaccinated the very first day I was eligible, I got sick with COVID-19. A couple of weeks ago, I started feeling off. I got the first available appointment for a “Rapid” test the next afternoon.Read More
If politics is like football, defeating Donald Trump feels more like a successful goalline stand than a victory. We need to move very deliberately in the immediate term and then press hard.
The single largest thing holding back progress in America is First Past the Pole (&, by proxy the Electoral College). Ranked Choice is our best hope to rend power from exorbitantly-funded special interests. It’s like a salary cap.
The more Democrats serve the proletariat the better they’ll fare in future elections. If they kowtow to capitalists, Trump 2.0 Xtreme Edition will dominate in 24 (including down-ticket). It’s time to fake right and go left!
The only way to pay for things is labor. Everything else is an abstraction.
Do the work.
Senator Warren just gave, perhaps, the most rousing address of the entire primary. CNN was discussing face masks. M… https://twitter.com/i/web/status/1234704022239666176
Checks out, but it depends on how loud you scream and how close your neighbors are on that last one https://twitter.com/netaustin/status/1234865293534662657
This is satire, right? https://twitter.com/FLOTUS/status/1235616174899171328