För att använda chatten måste du logga in.

App to restart Metatrader & Watch logs

andromeda1
Jan 14 2013 at 17:58
108 inlägg
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
XharpScalper
Jan 14 2013 at 18:01
285 inlägg
I can make it for you but why you need that ?
and also tell me you want to pay for it ?
jaydee
Jan 19 2013 at 08:45
22 inlägg
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
Jan 26 2013 at 10:41
134 inlägg
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! ^^
oliwand
Jan 28 2013 at 13:08
12 inlägg
oliwand
Jan 31 2013 at 10:31
12 inlägg
Hello,

I find the good one for mt4: 'RestartMe' from bkprograms, 'Restart on crash' doesn't work.

Hope that helps.



Mitch Taylor (mtaylor794)
Feb 08 2013 at 06:25
3 inlägg
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.
PipGnostic
TheCyclist
Feb 08 2013 at 07:25
724 inlägg
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.
Financialarts
Feb 08 2013 at 08:31
134 inlägg
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
Feb 08 2013 at 09:49
22 inlägg
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
Feb 08 2013 at 10:28
134 inlägg
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! ^^
Mike Yap
mikeyap9
Mar 06 2013 at 16:35
65 inlägg
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.
Mike Yap
mikeyap9
Apr 01 2013 at 19:36
65 inlägg
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.
oliwand
Apr 02 2013 at 09:21
12 inlägg
Hello,

I use now the autoboot from CNS vps, that's more efficient.
Logga in för att kommentera .