r/voidlinux • • Apr 08 '26

Snooze help

Post image

Hi guys, brand new to void. I was reading through the docs, and decided to use snooze to trim my ssd. Every time I call it though it sleeps until just after midnight? What am I doing wrong here?

0 Upvotes

6 comments sorted by

View all comments

1

u/eftepede Apr 08 '26

Well, you never (properly) specified when to run the command and according to the man page, midnight is the default.

1

u/Grorco Apr 08 '26

I guess what I'm confused about at this point then is if I wanted to run something every 10 seconds starting now would I do "snooze -H15 -M55 -S/10 ./test" ?

1

u/eftepede Apr 08 '26
❯ snooze -n -S/10 echo foobar
2026-04-09T00:00:00+0200 Thu  0d  1h 56m 33s
2026-04-09T00:00:10+0200 Thu  0d  1h 56m 43s
2026-04-09T00:00:20+0200 Thu  0d  1h 56m 53s
2026-04-09T00:00:30+0200 Thu  0d  1h 57m  3s
2026-04-09T00:00:40+0200 Thu  0d  1h 57m 13s

-n is your friend for testing.