Scheduling Ubuntu to "Wake Up"

Bill Moseley moseley at hank.org
Fri Oct 26 01:52:44 UTC 2007


On Thu, Oct 25, 2007 at 08:53:58PM -0400, Daniel Pevny wrote:
> Well, totem has been able to run the .plist file when I put the  
> following command in terminal:
> 
> totem 'directory'

Not sure what you mean, but you won't be able to run totem from cron
without specifying the display.

    $ crontab -e

then enter this to wake up at 5:45 Monday through Friday.

    45 5 * * 1-5 totem --display=:1.0  /path/to/dir/or/file

Assuming your display is :1.0  (hint: echo $DISPLAY)

But, I'd probably use a non-graphical music player.

-- 
Bill Moseley
moseley at hank.org





More information about the ubuntu-users mailing list