Search Results

Search: Posts Made By: nottingham
1,465
Posted By nottingham
So have can I add the automation?
So have can I add the automation?
1,465
Posted By nottingham
#!/bin/bash if [ `ps -ef | grep "91.34.124.35"...
#!/bin/bash
if [ `ps -ef | grep "91.34.124.35" | grep -v grep | wc -l` -eq 0 ]; then sh home/asfd.sh; fi


or

ps -ef | grep "91\.34\.124\.35" | grep -v grep > /dev/null
if [ "$?" -ne "0" ]...
1,465
Posted By nottingham
Help with Automated Shell Script
Hello, how can I write a shell script that looks in running processes and if there isn't a process name containing 91.34.124.35 then execute a file in a certain place.

I know PHP, in PHP I could...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 05:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy