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 implementing a service?

why? when you deploy your project, include the needed steps to add the polling schedule to the existing cron on the linux system...

either that or just build a scheduler into (or wrap one around) your project that polls at regular intervals...


--
 NOTE: No off-list assistance is given without prior approval.
       *Please keep mailing list traffic on the list unless*
       *a signed and pre-paid contract is in effect with us.*
--
_______________________________________________
lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to