So what I am looking for
script_1 ->runs-> script_2; script_1 ->lets run for 30 seconds-> script_2; script_1 ->kills-> script_2; repeat;
script_1 ->runs-> script_2; script_1 ->lets run for 30 seconds-> script_2; script_1 ->kills-> script_2; repeat;
#!/bin/bash while true do echo "Just keep running..." sleep 30 done exit 0You could call another script using bash
bash file_name.shhope that helps