mholiv
@mholiv@lemmy.world
lemmy
0.19.17-8-gded733659
0
Followers
0
Following
Joined June 28, 2023
Posts
Open post
In reply to
mholiv
@mholiv@lemmy.world
lemmy.world
That’s because you know cron. If you knew timers equally as well they would be easier. And they let you handle the edge cases (retry, randomness, tracking, logs etc) without the need for a custom script.
Once you factor in the production edge cases I think timers are clearly easier. You get all of it for free.
View full thread on lemmy.world
14
2
0
0
Open post
In reply to
mholiv
@mholiv@lemmy.world
lemmy.world
I think if you know cron from the start it can be easier, but it gets really annoying really fast.
Compare:
0 0 * * * /usr/bin/flock -n /tmp/myjob.lock bash -c 'sleep $((RANDOM % 3600)) && /usr/local/bin/myjob.sh'
To:
[Timer]
OnCalendar=daily
RandomizedDelaySec=1h
That and things like systemd preventing overlapped delays, handing what to do if the system was down during the last cycle, built in logging and event tracking. Seeing successful vs non successful runs etc.
Once you add in those production corner cases cron gets annoying fast and timers are easy.
View full thread on lemmy.world
21
6
0
0
Open post
In reply to
mholiv
@mholiv@lemmy.world
lemmy.world
Fedora with Niri on laptop / desktop.
Alma Linux on servers.
View full thread on lemmy.world
2
0
0
0
Open post
In reply to
mholiv
@mholiv@lemmy.world
lemmy.world
@mholiv@lemmy.world
in
lemmyshitpost
·
Mar 24, 2026
I’m sorry. I’m not on blahaj.
Bigotry towards bi men and non-binary folk seems very much not like them.
Are you a big man or non-binary person? If so I would be interested hearing what sort of discrimination you faced at blahaj. I recommend them quite a bit but would rather not if they are hateful in that way.
View full thread on lemmy.world
0
1
0
0
Open post
In reply to
mholiv
@mholiv@lemmy.world
lemmy.world
@mholiv@lemmy.world
in
onehundredninetysix
·
Mar 01, 2026
Wait till you learn about avif or jpegxl images!
For real though webp is a nice upgrade over png. Smaller and faster to load. I don’t get the hate.
View full thread on lemmy.world
0
3
0
0