Hi all. im having some problems trying to use crontab or cron.d. I want to run a shell script-1 from 7:00 pm to 11:00 pm, and then run the shell script-2 from 11:01pm to 6:59 pm. Does anyone know how to do this? Thanks a lot.
Scripts don't run for four hours and then stop... they run until they finish and then stop. You cannot control which script is currently running with cron; that is, you cannot *stop* a script with cron, you can only start it. Do you want the script to be run *every single minute*? How often do you want the script to be started?
Cheers,
-- Rodolfo J. Paiz rpaiz@xxxxxxxxxxxxxx http://www.simpaticus.com