A question for LC and Windows 10 experts
matthias_livecode_150811 at m-r-d.de
matthias_livecode_150811 at m-r-d.de
Tue Mar 23 15:14:48 EDT 2021
Hi jbv,
i have several apps running on Windows 10 (and before that on Vista) that run unattended. Not all on the same machine, but up to 3 standalones per machine.
Some standalones are running in the background and the repeating tasks are executed using the "send....to ... in .... seconds" and other standalones are executed every x minutes using the Windows 10 Task Scheduler.
This both runs here now for years without any significant problem.
Another nice tool for running apps at a scheduled time is MacroScheduler from MjtNet (https://www.mjtnet.com). It's not just a Scheduler but also a powerful Macro tool. I am using that tool also for years now. A little bit expensive one could say, but worth every cent.
Regards,
Matthias
-
Matthias Rebbe
Life Is Too Short For Boring Code
> Am 23.03.2021 um 19:50 schrieb jbv via use-livecode <use-livecode at lists.runrev.com>:
>
> Hi list,
> I have a request from a client to sync an accounting software
> running on a PC under Windows 10 and a database on a remote
> server.
> Below is a short description of the solution I have imagined,
> and I would welcome opinions & critics from other list members,
> as I'm not really familiar with Win 10.
>
> - I will build a small standalone app with LC, that will launch
> at start up along with Win 10 and will keep running in the
> background. Let's name it "myApp".
>
> - some programmable tasks in the accounting software will create
> xml files in a local directory when some actions are performed,
> for instance : entering a new customer or a new order.
>
> - every 5 min or so, myApp will check the directory for possible
> new files, and will send their content to the remote server as
> parameters of a POST request.
> If no file is found, the POST request will be sent to the server
> anyway.
>
> - on the server, a script will be triggered and will enter the
> parameters of the request (the xml data) into the DB, and will
> return data relative to possible events that happened on the server,
> if any, in the form of xml.
>
> - myApp will write the returned xml data as a file in a directory
> on the PC, and another programmable task in the software will read
> the file and import the data.
>
> My main concern is the app running constantly in the background.
> Is it safe ? Is it Win 10 compatible ? Is there anything I miss ?
> Thanks in advance.
>
> jbv
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list