frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

More Dynamic Cronjobs

https://george.mand.is/2025/09/more-dynamic-cronjobs/
27•0928374082•3h ago

Comments

victorbjorklund•2h ago
Cool. Had no idea you could run commands inside a CRON expression.
garganzol•1h ago
Running a command is the main idea of cron. In this case, the author runs composite commands like:

    test && action
Where 'test' is another shell command that returns 0 or 1. This is not a special cron syntax, it's just the inherent capability of the Unix shell.

In any case, this whole approach is very clever and shows the beauty of The Unix Way.

WolfCop•1h ago
Does anyone maintain a programmatically accessible list of holidays for their company? Similar to the HOLIDAYS.txt in the article, but it would allow for things like “don’t run this the day before or during a company holiday.”

I work at a company with different holidays in certain countries, which would complicate things, and require something more structured than a list of dates. But having that accessible could be useful.

Has anyone tackled that, or come across a solution?

jaredsohn•1h ago
Ruby has https://github.com/bokmann/business_time but when I looked at it, custom code was needed to calculate holidays that were offset because they are on the weekend.
AndrewDavis•1h ago
Great post. And if you want some control support for your cronjobs perl App::Cronjob[1] can provide features such has exclusive locking, so a job won't run if the previous run is still going, or provide a timeout, and some options for sending mail on success or failure

[1]https://metacpan.org/pod/App::Cronjob https://metacpan.org/dist/App-Cronjob/view/bin/cronjob

stevenjgarner•52m ago
This is great! I'm sure like a lot of programmers, I had been fulfilling the requirement for similar conditional logic by having a simple recurring cron job run other code or database queries with the conditional logic that this post demonstrates can be done directly in cron.

Show HN: Ez FFmpeg – Video editing in plain English

http://npmjs.com/package/ezff
27•josharsh•50m ago•8 comments

AI Police Reports: Year in Review

https://www.eff.org/deeplinks/2025/12/ai-police-reports-year-review
107•hn_acker•3d ago•58 comments

How uv got so fast

https://nesbitt.io/2025/12/26/how-uv-got-so-fast.html
866•zdw•16h ago•287 comments

Langjam-Gamejam Devlog: Making a language, compiler, VM and 5 games in 52 hours

https://github.com/Syn-Nine/gar-lang/blob/main/DEVLOG.md
38•suioir•5d ago•2 comments

Mruby: Ruby for Embedded Systems

https://github.com/mruby/mruby
14•nateb2022•5d ago•8 comments

QNX Self-Hosted Developer Desktop

https://devblog.qnx.com/qnx-self-hosted-developer-desktop-initial-release/
141•transpute•8h ago•73 comments

Exe.dev

https://exe.dev/
193•achairapart•9h ago•87 comments

Experts explore new mushroom which causes fairytale-like hallucinations

https://nhmu.utah.edu/articles/experts-explore-new-mushroom-which-causes-fairytale-hallucinations
382•astronads•16h ago•193 comments

The best things and stuff of 2025

https://blog.fogus.me/2025/12/23/the-best-things-and-stuff-of-2025.html
239•adityaathalye•3d ago•26 comments

More Dynamic Cronjobs

https://george.mand.is/2025/09/more-dynamic-cronjobs/
27•0928374082•3h ago•6 comments

Publishing your work increases your luck

https://github.com/readme/guides/publishing-your-work
108•magoghm•8h ago•36 comments

Pre-commit hooks are fundamentally broken

https://jyn.dev/pre-commit-hooks-are-fundamentally-broken/
48•todsacerdoti•5h ago•18 comments

Always bet on text (2014)

https://graydon2.dreamwidth.org/193447.html
208•jesseduffield•10h ago•105 comments

Researchers develop a camera that can focus on different distances at once

https://engineering.cmu.edu/news-events/news/2025/12/19-perfect-shot.html
46•gnabgib•3d ago•13 comments

Show HN: Vibe code from phone template repo

https://github.com/AdmTal/vibe-code-from-phone-starter
4•admtal•4d ago•0 comments

One million (small web) screenshots

https://nry.me/posts/2025-10-09/small-web-screenshots/
88•squidhunter•4d ago•8 comments

How Lewis Carroll computed determinants (2023)

https://www.johndcook.com/blog/2023/07/10/lewis-carroll-determinants/
176•tzury•14h ago•45 comments

T-Ruby is Ruby with syntax for types

https://type-ruby.github.io/
121•thunderbong•13h ago•87 comments

Show HN: Witr – Explain why a process is running on your Linux system

https://github.com/pranshuparmar/witr
316•pranshuparmar•18h ago•46 comments

SIMD City: Auto-Vectorisation

https://xania.org/202512/20-simd-city
37•brewmarche•6d ago•4 comments

Toys with the highest play-time and lowest clean-up-time

https://joannabregan.substack.com/p/toys-with-the-highest-play-time-and
377•surprisetalk•13h ago•222 comments

Package managers keep using Git as a database, it never works out

https://nesbitt.io/2025/12/24/package-managers-keep-using-git-as-a-database.html
630•birdculture•20h ago•361 comments

The Proton, the 'Most Complicated Thing You Could Possibly Imagine'

https://www.quantamagazine.org/inside-the-proton-the-most-complicated-thing-imaginable-20221019/
33•tzury•6h ago•7 comments

LearnixOS

https://www.learnix-os.com
228•gtirloni•20h ago•91 comments

Parasites plagued Roman soldiers at Hadrian's Wall

https://arstechnica.com/science/2025/12/study-roman-soldiers-battled-parasites-at-hadrians-wall/
62•sipofwater•1w ago•39 comments

Moravec's Paradox and the Robot Olympics

https://www.physicalintelligence.company/blog/olympics
54•beklein•3d ago•4 comments

Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (Xtensa) in 700 lines

https://github.com/valdanylchuk/xcc700
121•isitcontent•18h ago•20 comments

Drawing with zero-width characters

https://zw.swerdlow.dev
106•benswerd•14h ago•30 comments

Ask HN: What did you read in 2025?

228•kwar13•20h ago•318 comments

My insulin pump controller uses the Linux kernel. It also violates the GPL

https://old.reddit.com/r/linux/comments/1puojsr/the_device_that_controls_my_insulin_pump_uses_the/
415•davisr•14h ago•184 comments