Devam Ediyor

524030 Quick script.

Hey Guys,

I need to write a little script in bash/perl/python..

At the moment I have bash script which just loops command "php [url removed, login to view] $1"

==

#!/bin/bash

for (( ; ; ))

do

php $HOME/www/forum/[url removed, login to view] $1

done

==

I need someone to write in linux bash/perl/python.. Does't really matter language as long as it works.

It needs to loop "php [url removed, login to view] $1" but also, it needs to check if "php [url removed, login to view] $1 has been stuck, then do it again..

Because sometimes my script "[url removed, login to view]" gets stuck at "Logging in... OK ..." and if it stuck then it needs execute it again.

Basically something like if [url removed, login to view] dont give any new response for 5 minutes, it will kill it and start new one.

Thank You.

Beceriler: Her şey Kabul, Linux, Perl, PHP, Python, Kabuk Betiği

Daha fazlasını görün: bash 0, python forum, write a python script, python perl, linux bash script, bash script, php script execute, linux perl bash, loop script linux, kill linux, write linux script, php loop command, python script write, little python, write python script, kill bash script, execute bash script, python script linux, bash kill script, write linux command, bash kill, python bash, bash python loop, bash script perl loop, bash python

İşveren Hakkında:
( 4 değerlendirme ) NEW YORK, United States

Proje NO: #2269969

Seçilen:

0 gün içinde 15$ USD
(0 Değerlendirme)
0.0