Para utilizar el chat, inicie sesión.

App to restart Metatrader & Watch logs

Jan 14, 2013 at 17:58
Vistas 1,387
13 Replies
Miembro desde Aug 30, 2010   posts 108
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
Miembro desde Apr 25, 2012   posts 285
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 ?
Miembro desde Aug 08, 2011   posts 22
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
Miembro desde May 30, 2012   posts 134
Jan 26, 2013 at 10:41
u can use task scheduler for periodic restart ;)
built in winsdows
I am the change in the market that causes you to lose :p / Watch out before I negative pip you! ^^
Miembro desde Nov 16, 2011   posts 12
Jan 28, 2013 at 13:08
Hello,

I've tried to use this :

Archivos adjuntos:

Miembro desde Nov 16, 2011   posts 12
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.



Miembro desde Feb 07, 2013   posts 3
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.
TheCyclist
forex_trader_28881
Miembro desde Feb 07, 2011   posts 724
Feb 08, 2013 at 07:25 (editado Feb 08, 2013 at 07:28)
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.
Miembro desde May 30, 2012   posts 134
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! ^^
Miembro desde Aug 08, 2011   posts 22
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.
Miembro desde May 30, 2012   posts 134
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! ^^
mikeyap9
forex_trader_101400
Miembro desde Dec 01, 2012   posts 65
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.
mikeyap9
forex_trader_101400
Miembro desde Dec 01, 2012   posts 65
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.
Miembro desde Nov 16, 2011   posts 12
Apr 02, 2013 at 09:21
Hello,

I use now the autoboot from CNS vps, that's more efficient.
Conectarse / Inscribirse to comment
You must be connected to Myfxbook in order to leave a comment
*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.