Search Results

Search: Posts Made By: satnamsat
1,549
Posted By Scrutinizer
As long as the scripts take less then 3 minutes...
As long as the scripts take less then 3 minutes this should fire every 3 minutes..while :
do
sleep 180 & # Run sleep in the background
/path/to/dir/test1
/path/to/dir/test2
wait...
1,549
Posted By Yoda
Instead of joining 2 scripts, you can write...
Instead of joining 2 scripts, you can write another caller script which will invoke test1 & test2 every 3 minutes:-
#!/bin/ksh
while (true) # Infinite while loop
do
/etc/test1 #...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy