|
From: Eric W. <nor...@yh...> - 2015-06-08 05:41:47
|
Glenn Cooper <gl...@my...> wrote: > Hi Folks, > > I¹ve got an issue using sox from crontab, and handling mp3 files. > > For some reason, I can handle mp3 files from command line using sox with no > issues, however if I schedule a script to run using crontab, I get the > following message: > > sox formats: no handler for file extension `mp3' Perhaps a different installation of sox got used based on your PATH environment variable. > Obviously the environment at which sox is being run under crontab, is > different to the command line environment, > > How do I correct this? Compare the output of 'env' from your command-line to the output of 'env' when run from cron and minimize the differences (again, most likely PATH in your case). |