amokoura Posted February 25, 2008 Share Posted February 25, 2008 (edited) Hello! My program should run all the time on the background, but there's always a possibility that it will crash. The only solution I've figured is another monitor program that starts up the main program after crash. Do you have any other ideas to make sure the program is always on? Edited March 5, 2008 by amokoura Link to comment Share on other sites More sharing options...
jokke Posted February 25, 2008 Share Posted February 25, 2008 If its another program you have written inn AutoIt you could use _Singleton, else you could look for processexists. UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt. Link to comment Share on other sites More sharing options...
martin Posted February 25, 2008 Share Posted February 25, 2008 Hello! My program should run all the time on the background, but there's always a possibility that it will crash. The only solution I've figured is another monitor program that starts up the main program after crash. Do you have any other ideas to make sure the program is always on?I think that's the right approach if you can't be sure it won't stop for some reason. The script to monitor it could also start it and could be quite simple. while 1 RunWait($exename,$exepath) ;sleep(2000) wend Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now