9
rated 0 times
[
9]
[
0]
/ answers: 1 / hits: 26952
/ 3 Years ago, fri, august 6, 2021, 10:30:39
I have created a ruby script file that checks the connection present or not. For example checking port 22 is opened or not.
Firstly I tried with cron job as follows
@reboot find ${HOME}/my_app/check_conn.rb
But it is executing immediately after starting the system.
Now I have to run this script after 5 or 10 min.
How can I do this. Is there any other way for doing this.
Thanks in advance.
More From » cron