[plug] cron

Matt Kemner zombie at wasp.net.au
Wed May 31 22:51:19 WST 2000


On Wed, 31 May 2000, Phil Pearson wrote:

> 0 6 * * 1-4 /usr/bin/xmms play /mnt/mp3
> doesnt seem to do much. If I type /usr/bin/xmms play /mnt/mp3 in bash,
> xmms pops up,

Most likely xmms is refusing to load because it can't find a $DISPLAY
variable.  Try creating a shell script that sets $DISPLAY and then runs
xmms, and run that shell script from cron.

 - Matt




More information about the plug mailing list