If the conversion works fine when you click convert now but does not work with the cron job, the problem is going to be due to permissions. The uploaded file is being uploaded as the "apache" user. Your cron job is running as your normal user account. There is probably an easy fix for it, but I haven't investigated it.