Changes coming soon. Watch this space for updates on our new community.

Scheduled Applications

john.stanton-geddes Member Posts: 18
edited December 2020 in Feature Requests

As our team starts to deploy more apps on Domino, we've noticed that the cost and usage is going up quickly. While we're doing what we can to effectively pack apps on nodes, we have noted that the majority of our apps are just used during business hours, yet they run all the time.

It would be great to have the ability to schedule apps to turn on and off, so that internal applications with business usage are only on during business hours. This would allow us to cut our app expense by over 50%.

0 votes

Active · Last Updated


  • katie.shakman
    katie.shakman Administrator, Domino Posts: 257 admin
    edited December 2020

    Hi @john.stanton-geddes,

    Have you seen this post on publishing and unpublishing via scheduled jobs? It relies on creating a job that can start and stop apps our internal APIs. Would this work for you?



    Field Data Scientist @ Domino

  • john.stanton-geddes
    john.stanton-geddes Member Posts: 18

    Thanks Katie. I hadn't seen this article. Can you share the link? It seems like it embedded into this post, but can't find where it was originally published. We had discussed on the team that it would probably be possible to do something like this, so it's great to see it already have a method to do so.

    That Feature request doesn't change :). It would be ideal to have this functionality built into the 'Settings' of the 'Publish App' module.

  • katie.shakman
    katie.shakman Administrator, Domino Posts: 257 admin

    Hi @john.stanton-geddes,

    Here's the link (I've added it above the embedding as well), and it has some screenshots that should be helpful:

    This is the key code snippet that you can turn into a scheduled job that publishes or unpublishes:

    from domino import Domino
    import os
    import sys
    action = sys.argv[1]
    domino = Domino(os.environ['DOMINO_PROJECT_OWNER'] + "/" + os.environ['DOMINO_PROJECT_NAME'],
    if action == "on":
    elif action == "off":
        raise ValueError('This script uses the format: [on]/[off]')

    Makes sense that you would like this as a built-in option in the app publishing flow -- we'll provide that feedback to our product team.

    Let us know if there are any further questions or anything else we can help with on this topic, in the meantime.


    Field Data Scientist @ Domino

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!