[thelist] Task scheduling in linux CRON - solved
Phil Turmel
pturmel-webdev at turmel.org
Sat Apr 18 10:38:03 CDT 2009
Kipper Timmins wrote:
> I've gone through the man, and i have tried using the full path
> crontab currently looks like
>
> SHELL=/bin/bash
> DISPLAY=:0
>
> # m h dom mon dow command
> 40 15 * * * /usr/bin/vlc
> 40 14 * * * /usr/bin/firefox
>
> and for some reason this works
> a friend told me i needed to output the display so yeah there we go, thanks though :)
>
A warning: this will fail if you aren't logged in. If you need your
alarm clock to work regardless, you need a player that can handle a
headless environment, such as 'aplay'.
HTH,
Phil
More information about the thelist
mailing list