Linux Lite Forums
Problem with cron - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20)
+--- Thread: Problem with cron (/showthread.php?tid=1371)



Problem with cron - rmcellig - 01-06-2015

I have Linuxlite 2.2 installed on a Dell 3000 desktop with 2GB of RAM. When I went to the terminal and typed crontab -e, I used nano to setup my cronjob:


Code:
*/10 * * * * /usr/bin/arecord -t wav -f cd -d 44 /home/randy/Music/test.wav


This works fine except that there is no audio. When I runĀ  this from the terminal, everything works fine.


Code:
/usr/bin/arecord -t wav -f cd -d 44 /home/randy/Music/test.wav

Any ideas why it is not working from Cron? What can I try out and post back?

Thanks!!!


Re: Problem with cron - Scott(0) - 01-07-2015

Hi Rmcellig,

Until somebody responds with better information, here's an Ubuntu resource I've used in the past, maybe there's some information there that can help.

https://help.ubuntu.com/community/CronHowto


Re: Problem with cron - rmcellig - 01-07-2015

Thanks Scott! I'll take a look.