Edit Your Comment
App to restart Metatrader & Watch logs
Miembro desde Aug 30, 2010
posts 108
Jan 14, 2013 at 17:58
Miembro desde Aug 30, 2010
posts 108
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
Miembro desde Apr 25, 2012
posts 285
Miembro desde May 30, 2012
posts 134
Jan 28, 2013 at 13:08
Miembro desde Nov 16, 2011
posts 12
Miembro desde Feb 07, 2013
posts 3
forex_trader_28881
Miembro desde Feb 07, 2011
posts 724
Feb 08, 2013 at 07:25
(editado Feb 08, 2013 at 07:28)
Miembro desde Feb 07, 2011
posts 724
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.
Miembro desde May 30, 2012
posts 134
Feb 08, 2013 at 08:31
Miembro desde May 30, 2012
posts 134
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! ^^
Feb 08, 2013 at 09:49
Miembro desde Aug 08, 2011
posts 22
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.
Miembro desde May 30, 2012
posts 134
Feb 08, 2013 at 10:28
Miembro desde May 30, 2012
posts 134
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! ^^
forex_trader_101400
Miembro desde Dec 01, 2012
posts 65
Mar 06, 2013 at 16:35
Miembro desde Dec 01, 2012
posts 65
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.
forex_trader_101400
Miembro desde Dec 01, 2012
posts 65
Apr 01, 2013 at 19:36
Miembro desde Dec 01, 2012
posts 65
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.
*El uso comercial y el spam no serán tolerados y pueden resultar en el cierre de la cuenta.
Consejo: Al publicar una imagen o una URL de YouTube, ésta se integrará automáticamente en su mensaje!
Consejo: Escriba el signo @ para completar automáticamente un nombre de usuario que participa en esta discusión.