On Sat, 31 Jan 2004 17:59:20 -0800 (PST)
Job Evers wrote:
> Argh. Why doth my cron not work like I want it to?
>
> I have the following set up as an alarm to go off at
> 630 AM. The .alarm script works when I run it from
> the command line.
>
> $ more .alarm:
> #!/bin/sh
> xmms /home/jobevers/.playlist.pls
>
> $ crontab -l
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=jobevers
> HOME=/home/jobevers
> # run-parts
> 30 6 * * * /home/jobevers/.alarm
>
> But, 630 rolls around and nothing happens (fortunately
> I had another alarm set).
>
> In frustration, I added a new entry in my cron tab:
> * * * * * /home/jobevers/test
>
> $ more test
> #!/bin/sh
> echo "This is a test" >> /home/jobevers/cron.test
>
> and frustratingly enough that worked fine!
>
> Is there something about xmms that I can't run a cron
> job with it?
>
I cant answer a cron specific question, but there is a xmms plugin
called xmms alarm that sounds like what you want to do.
HTH
Regards,
Dan Gordon
--
Sat Jan 31 23:42:45 EST 2004
23:42:45 up 23:17, 1 user, load average: 0.33, 0.21, 0.12
_______________________________________
( We're all looking for a woman who can )
( sit in a mini-skirt and talk )
( philosophy, executing both with )
( confidence and style. )
---------------------------------------
o ^__^
o (OO)\_______
(__)\ )\/\
||----w |
|| ||
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com