Hello,
on windows I made a .bat file that automatically uploads my file to a backup server after each usage of MMEX.
Could somebody implement and "Command/script to run on start" and "Command/script to run after close"?
Because with this simple features it would easily implement the automatic backup/restore/cloud sync.
Automatic backup to server / sync to cloud
Moderator: Renato
-
- New MMEX User
- Posts: 5
- Joined: Tue Sep 01, 2020 7:37 pm
- Are you a spam bot?: No
-
- Super MMEX User
- Posts: 35
- Joined: Tue Jun 12, 2018 3:36 am
- Are you a spam bot?: No
Re: Automatic backup to server / sync to cloud
I execute MMEX on a Windows PC which has a command line interface that can run executable commands like bat files. This is a stellar suggestion for Windows. I do not know how well that other platforms that MMEX runs on support such command line interfaces.
-
- New MMEX User
- Posts: 5
- Joined: Tue Sep 01, 2020 7:37 pm
- Are you a spam bot?: No
Re: Automatic backup to server / sync to cloud
Actually .bat file that make upload is simple:
But i wanted to know if you like the ideea and embed this into MMEX
First line opens the MMEX and waits until is stopped and I use CURL to upload things..mmex-1.3.5-win64c\bin\mmex.exe
TIMEOUT /T 10
curl-7.64.1\AMD64\curl.exe -F "fileToUpload=@money.mmb" http://someserver.ro/bk/bk.php
TIMEOUT /T 2
curl-7.64.1\AMD64\curl.exe -F "fileToUpload=@datorii.mmb" http://someserver.ro/bk/bk.php
TIMEOUT /T 5
But i wanted to know if you like the ideea and embed this into MMEX