andromeda1
Členem od Aug 30, 2010
108 příspěvků
Jan 14 2013 at 17:58
Hi, i searched for MS Widnows 2003/2008 app for periodic restarting of an App like Metatrader, but no one works.
Some of my EAs im runing on Virtual private Server crashing and whole Metatrader (or only EA?) needs to be restarted. What about creating simple app or script which will watch .log files in C:\MetaTrader4\logs and when some matchin line is added (like expert advisor error message, or ANY other metatrader message) it will restart/kill metatrader.
Thank You
Some of my EAs im runing on Virtual private Server crashing and whole Metatrader (or only EA?) needs to be restarted. What about creating simple app or script which will watch .log files in C:\MetaTrader4\logs and when some matchin line is added (like expert advisor error message, or ANY other metatrader message) it will restart/kill metatrader.
Thank You
XharpScalper
Členem od Apr 25, 2012
285 příspěvků
Jan 14 2013 at 18:01
I can make it for you but why you need that ?
and also tell me you want to pay for it ?
and also tell me you want to pay for it ?
jaydee
Členem od Aug 08, 2011
22 příspěvků
Jan 19 2013 at 08:45
Theres a program that does this already. Basically it scans windows to make sure the program is running and launches it if the program isn't detected. Frozen programs though I haven't tried
Financialarts
Členem od May 30, 2012
134 příspěvků
Jan 26 2013 at 10:41
u can use task scheduler for periodic restart ;)
built in winsdows
built in winsdows
I am the change in the market that causes you to lose :p / Watch out before I negative pip you! ^^
oliwand
Členem od Nov 16, 2011
12 příspěvků
Jan 28 2013 at 13:08
Hello,
I've tried to use this :
I've tried to use this :
oliwand
Členem od Nov 16, 2011
12 příspěvků
Jan 31 2013 at 10:31
Hello,
I find the good one for mt4: 'RestartMe' from bkprograms, 'Restart on crash' doesn't work.
Hope that helps.
I find the good one for mt4: 'RestartMe' from bkprograms, 'Restart on crash' doesn't work.
Hope that helps.
Mitch Taylor
(mtaylor794)
Členem od Feb 07, 2013
3 příspěvků
Feb 08 2013 at 06:25
I can do this for you. Are you still in need? If so, let me know. It's a pretty simple task. I had to do this at work for a couple of apps. Let me know.

Feb 08 2013 at 07:25
Don't be silly you lot, you simply put it in the startup folder, so when windows launches it launches MT...then you can use something like the Task Scheduler to schedule re-boots or even to close down and restart MT.
This is all already built into windows. Has been for ages. All the VPS's auto start on a crash, so you just want it to bring MT back up on re-start.
This is all already built into windows. Has been for ages. All the VPS's auto start on a crash, so you just want it to bring MT back up on re-start.
Financialarts
Členem od May 30, 2012
134 příspěvků
Feb 08 2013 at 08:31
TheCyclist posted:
Don't be silly you lot, you simply put it in the startup folder, so when windows launches it launches MT...then you can use something like the Task Scheduler to schedule re-boots or even to close down and restart MT.
This is all already built into windows. Has been for ages. All the VPS's auto start on a crash, so you just want it to bring MT back up on re-start.
thats what i said! ^^
without the startup part :D
I am the change in the market that causes you to lose :p / Watch out before I negative pip you! ^^
jaydee
Členem od Aug 08, 2011
22 příspěvků
Feb 08 2013 at 09:49
Right, waste time manually rebooting when there are programs to check and launch a program. And no, not all vps auto restart. I've worked with commercial email systems for years now snd have run into vps that actually need to be configured on the providers end to reboot when unresponsive.
Financialarts
Členem od May 30, 2012
134 příspěvků
Feb 08 2013 at 10:28
jaydee posted:
Right, waste time manually rebooting when there are programs to check and launch a program. And no, not all vps auto restart. I've worked with commercial email systems for years now snd have run into vps that actually need to be configured on the providers end to reboot when unresponsive.
Had problem i couldn't connect to my vps anymore after it installed updates and rebooted because of them.
It needed a simple reboot from providers end to re enable my connection with it.
I am the change in the market that causes you to lose :p / Watch out before I negative pip you! ^^

Mar 06 2013 at 16:35
I found this registry settings that will kill hung tasks.
https://www.technospot.net/blogs/how-to-automatically-terminate-hung-program-in-windows-xp/
Then is Task Scheduler, you can create a task to run automatically, say every hour. But do not run another instance if it's already running.
At worst, the terminal will only be down for an hour.
https://www.technospot.net/blogs/how-to-automatically-terminate-hung-program-in-windows-xp/
Then is Task Scheduler, you can create a task to run automatically, say every hour. But do not run another instance if it's already running.
At worst, the terminal will only be down for an hour.

Apr 01 2013 at 19:36
oliwand posted:
Hello,
I've tried to use this :
I just installed this. Works as described. I had to change the Execute after crash to the path of the MT4 terminal without the quotes and added /portable because I'm running several terminals.
Pokud chcete komentovat, přihlaste se .