1

Shell script to run all the python scripts from particular directory

view story
linux-howto

http://www.unix.com – I have N number of python scripts which i am receiving from REST web server and i am saving them in /home/mandar/ . Now i want to write a script to run all the python scripts from this directory and monitor them every minute...if any process is dead or hung it should be restarted by this script. I know that i can use crontab to run shell script every minute but i need help in that shell script which will do the above job for me . THANK YOU:) (HowTos)