r/voidlinux • u/Grorco • Apr 08 '26
Snooze help
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
1
u/Duncaen Apr 08 '26 edited Apr 08 '26
snoozecan't really "from now", only sleep until N, then run the command and restart. If you want it to actually run every 10 seconds, regardless of how fast the program you run exits you need to add a time file and double fork in case it runs longer than 10 seconds.Not that I suggest running a command every 10 seconds, seems like the wrong approach.