LiveCode equivalent to 'cron' for automated background functions?
tom at makeshyft.com
Wed Nov 28 23:56:42 EST 2018
I did a multi-core processing presentation with livecode at the global
running long shell commands is one of the use cases for such a setup.
might be an option here.
On Wed, Nov 28, 2018 at 5:20 PM Richard Gaskin via use-livecode <
use-livecode at 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:
> ...where line 1 of somescript.lc is:
> 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
> Ambassador at FourthWorld.com http://www.FourthWorld.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode