Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] shell scripts


currently i have a cron job run a script at 10:00
then at 10:03 i run another to check if it succeeded
i should be able to combine these with a command that waits 3 minutes
my books don't explain this and i don't really understand the man
do i add a line ?
wait 180

also i'd like to run the command by clicking on a link in a web page and display
the text i currently echo
i have php installed but haven't written anything with it, would php be good way
to run and display,
does anyone care to post a sample that does a similar job
or script fragments to get me going

i'm running ps, grepping to see if a service is running, either stopping or
starting the service ,  then echoing an output

regards
stephen