Wake Up to XMMS


Forum: Multimedia
Topic: Wake Up to XMMS
started by: MadRabies

Posted by MadRabies on Aug. 23 2004,12:16
UPDATE:

I found an XMMS plugin that does this.
'apt-get install xmms-alarm' will do it

Then you just going into your plugin setting in XMMS and set the time and playlist and etc.

Works like a charm!

Previous Post:
I'd like to find a way to wake up to XMMS in DSL. Anyone know how to do this. Would be INCREDIBLY usefull. I hate waking up to that annoying beeping of my regular alarm clock.

Tanks,
MadRabies of America

Posted by mikshaw on Aug. 23 2004,14:32
maybe use cron....

errr...does DSL have cron?

Posted by mpie on Aug. 23 2004,14:43
i think cron has been mentioned in another post, so i assume its present? could be wrong tho....
Posted by MadRabies on Aug. 23 2004,18:43
Yeah, I did a search for cron on this board and one post proposed tha cron is unusable in DSL. I would like to know how I could download and install cron if it works. Although, ANY help on this topic is much appreciated!
Posted by MadRabies on Aug. 23 2004,18:51
Yo, I did: apt-get install cron at the xshell. It told me i needed to upgrade, so I did: apt-get update(or was it upgrage). Then I did: apt-get install cron and it worked.

Now, when I type cron at the xshell i get:

cron: can't lock /var/run/crond.pid, otherpid may be 332: Resource temporarily unavailable

BTW cron shows up as process 332 in Top. Now I just need to figure out how to edit it's parameters.

Did i mention I'm a total newb?

Posted by mikshaw on Aug. 23 2004,18:58
sounds like cron is already running.
try "ps -C cron" to check.

edit:
OK...so you know it's running.....
< http://linux.about.com/library/cmd/blcmdl5_crontab.htm >
< http://www.tldp.org/LDP....on.html >
should get you started

Posted by MadRabies on Aug. 23 2004,19:40
Hey thanks! I think I have figured it out.

I put an entry in the system-wide crontab file:

#start xmms at 11:30am everyday and stream groovesalad
30 11 *** dsl xmms /home/dsl/groovesalad.pls

hope it's ok to put it in the systemwide crontab. heh!

hope this helps somebody else

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.