Been using LC scripts on the server for "like 20 years."
But run on the cron of the server itself.
Brahmanathaswami
On 11/30/18, 2:37 AM, "use-livecode on behalf of Keith Clarke via
use-livecode" wrote:
Thanks Andre - good call.
Following others’ reminders of the single-thread
Thanks Andre - good call.
Following others’ reminders of the single-threaded nature of LCS, I’m trying to
rethink data flows as on-demand, to avoid all background tasks.
Best,
Keith
> On 30 Nov 2018, at 12:10, Andre Alves Garzia via use-livecode
> wrote:
>
> Keith,
>
>
>> The examples in th
Keith,
The examples in the dictionary look potentially useful for a couple of
lightweight activities I’d like to have ticking-over in the background on my LC
Server, pending page visits.
You shouldn't have the CGI engine hogging up like that, thats not how
web stuff is supposed to work. Fi
@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 f
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 Ga
I did a multi-core processing presentation with livecode at the global
conference.
running long shell commands is one of the use cases for such a setup.
https://github.com/makeshyft-tom-g/livecode-multicore-library
might be an option here.
On Wed, Nov 28, 2018 at 5:20 PM Richard Gaskin via use-
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 func
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 d
Keith Clarke wrote:
> Please can anyone steer me towards the dictionary keyword equivalent
> to ‘cron' jobs for initiating time-based background functions, along
> the lines of…
>
> on TimeAt pHour pMinute pSecond
> do stuff
> end TimeAt
You can do it with LC, but not as a CGI, as LC Serv
oh, yeah, and have a look at waitDepth
On Wed, Nov 28, 2018 at 12:43 PM Keith Clarke via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Thanks Mike, I was aware of ‘do’ but hadn’t used ’send’, so not seen its
> timer aspect.
>
> The examples in the dictionary look potentially useful for a
Thanks Mike, I was aware of ‘do’ but hadn’t used ’send’, so not seen its timer
aspect.
The examples in the dictionary look potentially useful for a couple of
lightweight activities I’d like to have ticking-over in the background on my LC
Server, pending page visits.
Best,
Keith
> On 28 Nov
In the meantime, there are two commands to have a look at if you want to
have a crack at rolling your own
send and do
send "doSomething" to me in 60 seconds
then there is a way to see if you're interrupting an asynchronous activity
pendingMessages
On Wed, Nov 28, 2018 at 12:02 PM Mike Kerner
wrot
LC is single-threaded so CRON is a little tricky. I have code that works
with those limitations. I suppose I should repo it. Some day I might even
get the secondary process part working.
On Wed, Nov 28, 2018 at 11:15 AM Keith Clarke via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Fo
Folks,
Please can anyone steer me towards the dictionary keyword equivalent to ‘cron'
jobs for initiating time-based background functions, along the lines of…
on TimeAt pHour pMinute pSecond
do stuff
end TimeAt
Thanks
Keith
___
use-livecode
14 matches
Mail list logo