Hi, You probably are right, Nicolas, that is what I thought at first reading. However I tried. And it seems to work. I will try in more various situations and let you informed of the success of the thing. Many thanks Juan.
Best regards, Le 01/08/2017 à 20:47, Nicolas George a écrit : > Le quartidi 14 thermidor, an CCXXV, Juan R. de Silva a écrit : >>> If I run mplayer in CLI, everything is good. If cron does it, no sound. >> I had a similar problem when wanted to run vlc in a crontab. The solution >> was to execute in crontab the following command: >> >> env DISPLAY=:0 /home/your_username/full_path_goes_here/play_something.sh > > Setting the DISPLAY environment variable is for video, not for audio as > in Jean-Philippe's problem. > > Regards, > -- Logo Hypra JEAN-PHILIPPE MENGUAL DIRECTEUR TECHNIQUE ET QUALITÉ 102, rue des poissonniers, 75018, Paris Tel : +331 84 73 06 61 <tel:+33184730661> Mob : +336 76 34 93 37 <tel:+33676349337> jpmeng...@hypra.fr <mailto:jpmeng...@hypra.fr> www.hypra.fr <http://www.hypra.fr/> Facebook Hypra <https://www.facebook.com/hyprasoftware/> Twitter Hypra <https://twitter.com/Hypra_> Linkedin Jean-Philippe <https://fr.linkedin.com/in/jean-philippe-mengual-800133135>
signature.asc
Description: OpenPGP digital signature