Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 258 Bytes

watch.md

File metadata and controls

19 lines (15 loc) · 258 Bytes

Watch

run script in loop with interval

watch -n 600 <command> <flags>

Alternative

(The best way is do this using tmux)

#!/bin/bash

while true; do
    node app.js
done

Bash alternative while true; do ./my_script.sh; sleep 60; don