From: Manfred T. <Man...@ii...> - 2004-01-12 21:00:12
|
Am Montag, 12. Januar 2004 06:31 schrieb Somnath Nag: > I am trying to use xine in crontab . For example : > 30 6 * * * xine -g -H --auto-play=hwq "/home/xxx/xyz abc.mp3" > > It is giving a error that it can't open display. As Michael allready told you, the user who starts cron can't access X, so you should get the user, who uses X. If you are allone on this computer and your user is xxx it's simple, use: /bin/su xxx -c 'xine -g -H --auto-play=hwq "/home/xxx/xyz abc.mp3"' I'm not sure, if you have to use the path to xine, too. -- Machs gut | http://www.iivs.de/schwinde/buerger/tremmel/ | http://packman.links2linux.de/ Manfred | http://www.knightsoft-net.de |