Re: A question for LC and Windows 10 experts

2021-03-23 Thread Tom Glod via use-livecode
I can confirm that as long as your code does not crash, a lc stack will run
indefinitely.
Even sleep/awake cycles do not disturb it.
However, the last time I tried to run a lc stack with the 'windowless'
mode... i forget what flag it is ... -ui maybe?
I suddenly had full cpu usage on that core,
Other than that.:)
You can trust the engine.
If you deploy well tested code.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: A question for LC and Windows 10 experts

2021-03-23 Thread matthias rebbe via use-livecode
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 "sendto ... 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 
> :
> 
> 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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


A question for LC and Windows 10 experts

2021-03-23 Thread jbv via use-livecode

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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode