Click to See Complete Forum and Search --> : Opening files every 10 minutes


Pyrofeed
02-20-2006, 10:21 PM
Im pretty new to all this so id like to know what script/program or whatever (remember I know nothing) would activate a audio file, for example, every 10 minutes or any time interval. Thank you

Icarus
02-20-2006, 10:36 PM
cron,crontab,mplayer
read up on those and you can do what you want

DrChuck
02-20-2006, 10:48 PM
Another option is "at", to run a command at a specific time. Check the man page for at (as well as Icarus' suggestions) by typing "man at" on the commandline.

drChuck

Pyrofeed
02-22-2006, 07:27 PM
yea now i have another problem, i dont seem to have any of those (cron, crontab, mplayer) i dont know why, but is there a way i could download it and how would i install it?

Icarus
02-22-2006, 07:48 PM
Depends on which distro you have will determine how to install them ;)

Calipso
02-22-2006, 08:17 PM
I would suggest using maybe mpg321...or is it mpg123 to run the audio file.
You can run it in the command line so writing a script should be easy.



Im also a little surprised you dont have cron or at installed. I was under the impression that all distros come with that by default. :confused:

Pyrofeed
02-22-2006, 10:04 PM
what about a video file?

Icarus
02-22-2006, 11:18 PM
what about a video file?
mplayer :)
http://www.mplayerhq.hu

but I'm sure your distribution has it's own packages to make the install much easier ;)