On Monday 20 Sep 2010, Nitesh Mistry wrote: > I want cron to play a certain mp3 file at a certain time. So I add > the usual time parameters and add the following to the command > field: /usr/bin/ffplay <path to my mp3 file> > > But cron mails me an error which I have attached as text file.
ffplay appears to require a working X to function, and jobs run through cron will not have access to your X display (if any is running). You may be better off using a console-only MP3 player for this. Regards, -- Raj -- Raj Mathur [email protected] http://kandalaya.org/ GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F PsyTrance & Chill: http://schizoid.in/ || It is the mind that moves -- http://mm.glug-bom.org/mailman/listinfo/linuxers

