I have a server With Linux, and i need to start a sh script with many commands every 5 secondes.
With crontab, minimum is 1 minute.
How can i do that ??
watch -n 5 foo.sh
You can also use sleep in a loop in shell script :
while [ true ]
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3 years ago
Get the weekly newsletter! In it, you'll get:
see an example newsletter