LiveCode equivalent to 'cron' for automated background functions?

Alex Tweedly alex at tweedly.net
Wed Nov 28 16:42:21 EST 2018


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).

Alex.





More information about the use-livecode mailing list