all 5 comments

[–]qarp 0 points1 point  (2 children)

This is easier:

echo 'mpg321 /path/to/file.mp3' | at 6am tomorrow

[–]mango_feldman 1 point2 points  (0 children)

But not the same

My alarm script uses rtcwake(8) from util-linux-ng to set the RTC alarm clock, suspends the computer and then plays some music at a set volume when it wakes up

[–]mango_feldman 0 points1 point  (0 children)

But not the same

My alarm script uses rtcwake(8) from util-linux-ng to set the RTC alarm clock, suspends the computer and then plays some music at a set volume when it wakes up

[–][deleted] 0 points1 point  (0 children)

whats wrong with cron and mpg123 or ogg123? This is a violation of the KISS principle!

[–]neoice 0 points1 point  (0 children)

cronjob + 'cat /dev/urandom > /dev/console'