12 lines
105 B
Bash
Executable File
12 lines
105 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
timer="$1"
|
|
shift 1;
|
|
command="$@"
|
|
|
|
while :
|
|
do
|
|
sleep $timer
|
|
eval $command;
|
|
done
|