Results 1 to 4 of 4

Thread: Background process

  1. #1
    Senior Member
    Join Date
    Feb 2012
    Location
    São Paulo - Brasil
    Posts
    118

    Background process

    How I can create an app with background process like tracker?

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,368
    Blog Entries
    22
    What is tracker?

    You can run a worker (background process) using cron that uses wget e.g.

    wget http://localhost:8001/apps/yourworker/yourworker.rsp

    That will run in the background in the cloud server at the intervals you specify in the crontab entry.

    See doc:
    https://www.lianja.com/doc/index.php/Background_Tasks
    Last edited by barrymavin; 2024-06-05 at 22:25.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Senior Member
    Join Date
    Feb 2012
    Location
    São Paulo - Brasil
    Posts
    118
    Sorry,
    A real-time tracking, like Uber.
    The background process must run on mobile.

  4. #4
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,368
    Blog Entries
    22
    You can’t run the background process on a mobile client.

    You would achieve this on a timer that requests geolocation and update the map in a WebView.
    Last edited by barrymavin; 2024-06-06 at 10:26.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us