Hi Bob,

> Am 17.01.2020 um 17:21 schrieb Bob Sneidar via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> This got me thinking, I've pondered a way to run scheduled tasks, and how I 
> would go about it. I think what I would do is have a faceless standalone that 
> once launched sent a command in time every second, or 5 seconds or whatever, 
> and the handler would then check a list or a database for tasks whose 
> datetime was prior to the current time, and were flagged pending. 
> 
> I would then probably through socket communication attempt to trigger the 
> task to my actual application, and if successful mark the task as completed. 
> If the socket comm failed, I would simply do nothing and issue another send 
> in time. 
> 
> The advantage of using a dedicated app is that multiple applications could 
> take advantage of it. A new app could simply register with the timer app 
> again through sockets, and each task would store the name of the registered 
> app in the task, so each app would only get it's own tasks. 
> 
> Probably more than what you want to do though. At the very least you could 
> implement this in app. 

this seems to be an unneccessary big workaround for something that used to work 
right out of the box. 8-)
Remember this works fine in LC 5.02 and 9.05, so this must be a bug.

> Bob S

Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


_______________________________________________
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

Reply via email to