@tom Yeah, that was a nifty demonstration of how to get around single-threadedness, especially after Mark and I had been talking about that very topic for a week or so. I was thinking that it would be cool to attach various LC externals and libraries to make a robust way to implement some better fault tolerance.
On Thu, Nov 29, 2018 at 3:49 AM Keith Clarke via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks for the really useful responses Richard, Alex & Tom - great to know > the art of the possible. > I think most of my current use cases will be supported by send with time, > as they’re more lightweight ’tick-over’ activities than big batch jobs. > Best, > Keith > > > On 28 Nov 2018, at 21:51, Richard Gaskin via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Alex Tweedly wrote: > > > > > On 28/11/2018 20:45, Richard Gaskin via use-livecode wrote: > > >> > > >> FWIW, cron is for periodic tasks. If you need a one-off at a > > >> specific time see at. > > >> > > >> But can be managed from the command line, which means you can drive > > >> them from LC if needed through the shell function. > > >> > > > And. conversely, you can drive LC from cron - i.e. to schedule > > > something regular, just use cron, and make the cron task be something > > > like > > > > > > wget https://mydomain.com/index.lc/domynightlytask > > > > > > so you get to script the task in your usual way (e.g. within > > > revigniter), and do the scheduling with cron (generally accessible > > > from cPanel as well as shell). > > > > And for local tasks: > > > > ~/somescript.lc > > > > ...where line 1 of somescript.lc is: > > > > #!/path/to/your/copy/of/livecodeserver > > > > > > Or launch the engine and specify the script in the command line: > > > > ~/livecode-server somescript.lc > > > > > > Lots of flexibility mixing and matching LC with other tools to make the > best use of what each brings to the table. > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > ____________________________________________________________________ > > ambassa...@fourthworld.com http://www.FourthWorld.com > > > > _______________________________________________ > > 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 -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ 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