Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.
PLEASE READ - Webmaster Support Forum
This forum will be retired in the near future. Please direct all queries to our dedicated GitHub support page https://github.com/vatsimnetwork/developer-info/discussions 
Here you can find documentation on our services and we are continuing to migrate pertinent information into the Wiki pages https://github.com/vatsimnetwork/developer-info/wiki

Shell scripting and expect - looking for help


Luca Benelli
 Share

Recommended Posts

Luca Benelli
Posted
Posted

Hi all, anybody good with shell and expect scripting?

 

What i need is a script which connects to a server, checks some conditions and basing on the conditions does some actions.

 

The target would be something to [Mod - Happy Thoughts]ist in managing server connections which now are a quite tedious hand made process, as sometimes the server connections "lock up" for no really known reasons and stop exchanging some informations abou the connections they are managing, so the connection needs to be taken down and reconnected, automating this process at least partially would be a great improvement in data availability.

 

If anybody is interested in investing a couple of hours of time and has the knowledge let me know via PM or email.

 

Thanks, Luca

Luca Benelli - C3 - P2

Link to comment
Share on other sites

Miguel Frias
Posted
Posted

Hi Luca... Expect is based on Tcl. It allows to remotely access a server for instance and execute commands based on EXPECTed output. Give me a ring...

Miguel Frias

Senior Instructor (I3) & Certified Pilot (P4), ZLA I-11 graduate

Portugal vACC Training Director (ACCPT2), VATEUD Operations Director (VATEUD8)

Portugal vACC, VATEUD, VATSIM

1107190.png1107190.png

Link to comment
Share on other sites

Luca Benelli
Posted
Posted

I know what it does, i just don't get it to do it what I expect

 

Will send you an email

 

Thanks, Luca

Luca Benelli - C3 - P2

Link to comment
Share on other sites

  • 2 weeks later...
Stephen O'Hara 1108492
Posted
Posted

what happened your name?

Link to comment
Share on other sites

Luca Benelli
Posted
Posted

whooops... fixed

Luca Benelli - C3 - P2

Link to comment
Share on other sites

 Share