Crontab and music problem

hi people. i am new in linux and especialy puppy.
i am trying to use crontab to play and stop music at the certan time but have a problem.

crontab lines look something like this:

23 10 * * * pmusic -s pause (starts the player)
28 10 * * * pmusic -s pause (stops the player)

but when its finised with the first song (there is bunch in playlist) it just stops and at 28 10... it just starts again.

should i use some other player for this or tipe some other command? i used pmusic because its instaled when i instal puppy. and the puppy is here because it si an intel 400MHz with 128MB of ram.

sorry for the tipos and the gramar :slight_smile:

I'm unable to find a manual page for pmusic, so it's commandline options are as much a mystery to me as you. How is the music player being started? Does it behave differently outside of crontab?

The audacious music player has better documented options including some allowing you to pick between sessions, so may be better suited for noninteractive control. It also has various plugins for remote control I think, if these are insufficient.

I use ncmpcpp with mpd. Mighty fine for this use.

To get a quick answer you might try the puppy forum, where the program author is also participating:

Puppy Linux Discussion Forum :: View topic - Pmusic 1.3.1 - Audio player
Puppy Linux Discussion Forum :: View topic - Pmusic 1.3.1 - Audio player

thanks people.
jostber i wrote on the forum and the program author says it is a bug. if you pres pause the next song won't play. it has a workaround but it won't do it for me. i try with this that you people recommended