littlejeem / monitor_scripts

A repository of scripts designed to monitor or oversea functions
GNU General Public License v3.0
0 stars 0 forks source link

script produces error around wait time #7

Closed littlejeem closed 4 years ago

littlejeem commented 4 years ago

on run the script generates an issue with the wait time line.

./services_checker.sh: line 41: wait: `1m': not a pid or valid job spec

relates to this line (41)

wait 1m

believe this is because syntax is wrong

littlejeem commented 4 years ago

needed sleep not wait