I am doing this little experiment in cron, but not able to make it work. 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. I also tried "/bin/bash /usr/bin/ffplay <path to my mp3 file>" but it does not work. Where am I going wrong? When I simply give the following command from terminal, it plays the file: ffplay <mp3 file> -- Regards, Nitesh Mistry www.mistrynitesh.com PGP key id: CC580416
FFplay version 0.5-svn17737+3:0.svn20090303-1ubuntu6.2, Copyright (c) 2003-2009
Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-swscale
--enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6.2
--prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook
--enable-libdc1394 --disable-armv5te --disable-armv6 --disable-armv6t2
--disable-armvfp --disable-neon --disable-altivec --disable-vis --enable-shared
--disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Apr 23 2010 15:08:34, gcc: 4.3.3
=======================| DirectFB 1.0.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2008-11-12 15:27)
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
--> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system' core!
--> Initialization error!
Could not initialize SDL - DirectFBCreate: Initialization error!
signature.asc
Description: Digital signature
-- http://mm.glug-bom.org/mailman/listinfo/linuxers

