Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-06-2005, 06:29 PM   #1
LQ Newbie
Registered: May 2003
Location: Great Yarmouth, UK
Distribution: Ubuntu 9.10 i386
Posts: 12

Rep: Reputation: 0
cron problems

i have this script which works perfectly outside of cron.
i'm trying to convert 3 x 1 hour asf files to mp3
when running on the 1 hour files it starts making the first mp3 then dies at 792k
tried it with some smaller music files and mplayer dies at 1.6MB should be around 35MB wav file

seems like the script just dies.


/usr/bin/mplayer  /home/sharedfiles/webrecordings/today/lbc01.wma -ao pcm -aofile /home/sharedfiles/webrecordings/today/lbc01.wav -vc dummy -vo null
/usr/bin/lame -b 128 -m m --resample 44.1 --lowpass 12 --lowpass-width 0 --noshort /home/sharedfiles/webrecordings/today/lbc01.wav /home/sharedfiles/webrecordings/today/lbc01.mp3

/usr/bin/mplayer  /home/sharedfiles/webrecordings/today/lbc02.wma -ao pcm -aofile /home/sharedfiles/webrecordings/today/lbc02.wav -vc dummy -vo null
/usr/bin/lame -b 128 -m m --resample 44.1 --lowpass 12 --lowpass-width 0 --noshort /home/sharedfiles/webrecordings/today/lbc02.wav /home/sharedfiles/webrecordings/today/lbc02.mp3 

/usr/bin/mplayer  /home/sharedfiles/webrecordings/today/lbc03.wma -ao pcm -aofile /home/sharedfiles/webrecordings/today/lbc03.wav -vc dummy -vo null
/usr/bin/lame -b 128 -m m --resample 44.1 --lowpass 12 --lowpass-width 0 --noshort /home/sharedfiles/webrecordings/today/lbc03.wav /home/sharedfiles/webrecordings/today/lbc03.mp3 

rm /home/sharedfiles/webrecordings/today/lbc01.wma
rm /home/sharedfiles/webrecordings/today/lbc02.wma
rm /home/sharedfiles/webrecordings/today/lbc03.wma

rm /home/sharedfiles/webrecordings/today/lbc01.wav
rm /home/sharedfiles/webrecordings/today/lbc02.wav
rm /home/sharedfiles/webrecordings/today/lbc03.wav

mv /home/sharedfiles/webrecordings/today /home/sharedfiles/webrecordings/`date +%Y%m%d`-lbc-NickFerrari


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron Problems eagle683 Programming 6 07-26-2005 06:26 PM
Cron Problems DNAphil Linux - Newbie 1 07-12-2005 07:56 AM
problems using cron Mugatu Linux - Software 3 02-26-2004 02:15 PM
Cron problems goochable Linux - General 3 11-15-2003 08:47 PM
Cron problems goochable Linux - Newbie 3 04-17-2001 07:43 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration