man bash will show you what commands are alowed in the bash environment for shell scripting. You could also use perl or a number of other languages. To run the scripts you make you would use crontab (unix scheduler), and a good tutorial on crontab can be found here:
http://perlcoders.com/main/crontab.html