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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Schedule Server reboot

Scheduled Pinned Locked Moved Discuss
servertimezonerebootfeature-request
6 Posts 5 Posters 459 Views
    • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by girish
    #1

    Under Notifications sometimes a reboot of the server is suggested. The reason is security updates.

    It would be nice to schedule the reboot for a specific time.

    murgeroM 1 Reply Last reply
    2
  • murgeroM Offline
    murgeroM Offline
    murgero App Dev
    replied to A Former User on last edited by
    #2

    @Captain-Kirk For now, until something in the UI is implemented you can use the following via SSH:

    shutdown -r <time>

    Example: shutdown -r 20:00 (Reboots at 8PM)

    --
    https://urgero.org
    ~ Professional Nerd. Freelance Programmer. ~
    Matrix: @murgero:urgero.org

    d19dotcaD 1 Reply Last reply
    0
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    replied to murgero on last edited by d19dotca
    #3

    @murgero Related question: If I change the time on the server from UTC to PST, will it mess with Cloudron? I thought a while back we weren't supposed to touch it, but maybe I am misremembering, I may be confusing this with just the general time shown in Cloudron logs and stuff back in the day. Right now mine is UTC, so issuing the command you provided wouldn't work well for me as it'd be during business hours tomorrow. Obviously I can change the time to compensate, but wasn't sure if we can actually change the timezone or not without repercussions to Cloudron.

    --
    Dustin Dauncey
    www.d19.ca

    murgeroM 1 Reply Last reply
    0
  • murgeroM Offline
    murgeroM Offline
    murgero App Dev
    replied to d19dotca on last edited by
    #4

    @d19dotca AFAIK changing the time on server will mess with Cloudron unless the cloudron backend is using some 3rd party NTP service.

    --
    https://urgero.org
    ~ Professional Nerd. Freelance Programmer. ~
    Matrix: @murgero:urgero.org

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote on last edited by
    #5

    Indeed, don't change the timezone of the server from UTC. All our code converts server timezone to your browser timezone (for example, logs). What is the use case for changing the server timezone? For the reboot time? Hopefully, we can fix automatic reboot soonish (I am not sure why ubuntu itself does not provide some mechanism for this).

    1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #6

    Will lock this thread in favor of the same question about a week ago https://forum.cloudron.io/topic/2677/ability-to-schedule-restart-reboots-updates?_=1592566614617

    1 Reply Last reply
    1

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.