Re: [Lazarus] Environment monitoring software on Linux?

2019-09-26 Thread Bo Berglund via lazarus
On Thu, 26 Sep 2019 23:25:45 +0200, Bart via lazarus wrote: >On Thu, Sep 26, 2019 at 11:16 PM Bo Berglund via lazarus > wrote: > >> If the measure process takes longer than until the next cron >> invocation due to some extra delays in that particular process, then I >> don't want the new

Re: [Lazarus] Environment monitoring software on Linux?

2019-09-26 Thread Bart via lazarus
On Thu, Sep 26, 2019 at 11:16 PM Bo Berglund via lazarus wrote: > If the measure process takes longer than until the next cron > invocation due to some extra delays in that particular process, then I > don't want the new instance of the scheduler to start another task. > The reason is that the

Re: [Lazarus] Environment monitoring software on Linux?

2019-09-26 Thread Bo Berglund via lazarus
On Thu, 26 Sep 2019 13:00:59 -0400, wkitty42--- via lazarus wrote: >On 9/26/19 11:12 AM, Bo Berglund via lazarus wrote: >> Is cron the best way or is there some similar function like the >> Windows services one can easily create? > >generally speaking, cron is the equivalent of the winwhatever

Re: [Lazarus] Environment monitoring software on Linux?

2019-09-26 Thread Anthony Walter via lazarus
>From what you describe it would seem a simple script or program invoked through cron would be the best way to tackle this problem. Another option is the watch command, which can execute a program every x intervals. And of course if you want to kick off a process when run, you can add a script to

Re: [Lazarus] Environment monitoring software on Linux?

2019-09-26 Thread wkitty42--- via lazarus
On 9/26/19 11:12 AM, Bo Berglund via lazarus wrote: Is cron the best way or is there some similar function like the Windows services one can easily create? generally speaking, cron is the equivalent of the winwhatever scheduler... If so is there some sample code in FreePascal for

[Lazarus] Environment monitoring software on Linux?

2019-09-26 Thread Bo Berglund via lazarus
I am looking for some advice on how best to approach my project... I have to create monitoring control software that will run on a Linux computer (Raspberry Pi) and will be responsible for controlling a few measure systems to take readings at regular intervals and saving/forwarding the results.