Forum Discussion

triSolutionFuse's avatar
11 years ago

scheduled task or cron jobs within Lithium

Curious if anyone has had the need to run automated scripts within Lithium, and how you went about doing it. Typically, creating a cron job on a server would suffice, but im unaware of any feature within Lithium that would allow such a function.  Our other option would be to use a "middleware" standalone server to run the scheduled task, but this would require the overhead of managing a separate server.  Is there a more efficient and streamlined solution for scheduled tasks?  thanks,

 

Tri

  • Hi triSolutionFuse ,

     

    Scheduled job is not exposed to the customer configuration, but Lithium Professional Services team can setup that from the server side. if you have such needs, please talk to your Lithium contact with your requirement.

3 Replies

  • HaidongG's avatar
    HaidongG
    Lithium Alumni (Retired)
    11 years ago

    Hi triSolutionFuse ,

     

    Scheduled job is not exposed to the customer configuration, but Lithium Professional Services team can setup that from the server side. if you have such needs, please talk to your Lithium contact with your requirement.

  • triSolutionFuse Do you use SSO? Are you copying things out of Khoros into another database or wanting to ensure everything is kept up to date in Khoros?

    HaidongG We use SSO. Though synching is going well I wondered if there was a way to set up a nightly sync to ensure that all changes are updated. For instance on occasion a person might want their username updated. We have to do it for them. Since it is something initiated on our end it doesn't sync right away to the community like other user updated fields that are in their master profile. It would be nice if nightly it looked for changes and made any updates that didn't happen right away earlier in the day. While any changes we've made typically get synched on the person's login, sometimes their next login doesn't happen for a period of time so it would be better if it was happening on a regular basis so that all systems are in sync with our database of record.

  • jeffshurtliff's avatar
    jeffshurtliff
    Boss
    4 years ago

    MarkSchwanke, if you don't mind scheduling a script on a separate server (e.g. AWS, GCP, a local server, etc.) then you could always use the Community APIs.  For example, we have a script that runs every 12 hours which checks our customers' entitlements (i.e. active maintenance contracts) in Salesforce and then use the Community API v2 to add/remove roles accordingly in Khoros.