Easy way to repeat a job from crontab with an interval less than one minute (20 seconds example) :
crontab:
-
-
-
-
- script.sh
-
-
-
script.sh: #!/bin/bash
type your commands here.
sleep 20
retype your commands here.
sleep 20
retype your commands here.
#!/bin/bash >>type your commands here. sleep 20 >>retype your commands here. sleep 20 >>retype your commands here.