Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Looking for CronJob command to Stop an App on Schedule

Looking for CronJob command to Stop an App on Schedule

Scheduled Pinned Locked Moved Discuss
4 Posts 3 Posters 480 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DualOSWinWiz
    wrote on last edited by
    #1

    Hi Good Day Guys,

    I am wondering if someone could guide if there is an option to Stop and Start an App with cronjob on a specific time if yes what are the commands for Stop, Start and Restart.

    Or if there is any other method exist.

    Thank you in advance for your help.

    1 Reply Last reply
    1
    • fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by
      #2

      You could use the cloudron cli for this: https://docs.cloudron.io/packaging/cli/#listing-apps

      1 Reply Last reply
      2
      • J Offline
        J Offline
        joseph
        Staff
        wrote on last edited by
        #3

        https://docs.cloudron.io/api.html#tag/Apps/operation/startApp and https://docs.cloudron.io/api.html#tag/Apps/operation/stopApp are the relevant API calls

        1 Reply Last reply
        1
        • D Offline
          D Offline
          DualOSWinWiz
          wrote on last edited by
          #4

          Thank you for the help

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search