↑ Return to Obecná diskuze

Automatický restart

Úvodní stránka Fóra Raspberry Pi Obecná diskuze Automatický restart

Označeno štítky: 

  • Toto téma obsahuje celkem 2 odpovědi. Do diskuze (3 diskutující) se naposledy zapojil uživatel Anonymní uživatel a poslední změna proběhla před 3 roky a 10 měsíci.
Aktuálně jsou na stránce zobrazeny 3 příspěvky - 1. až 3. (celkem z 3)
  • Autor
    Příspěvky
  • #2725
    amadeus
    Účastník

    Zdravím,chtěl bych na Raspi3 nastavit automatický restart systému na neděli 2 ráno.
    Již jsem zkoušel návody na cron,ale vůbec to neregistruje.Systém je bez prostředí.
    Přihlášen jako uživatel i root.
    crontab -e
    0 2 * * * sudo /sbin/shutdown now -r

    Je cron v základním systému?Musí se instalovat?Jak?
    Příkaz pro restart cronu mi uvádí OK.

    Děkuji všem za tipy nastavení.

    #2747
    Anonymní uživatel
    Neaktivní

    We are well aware that for the students spending huge money on availing the Assignments Help is not easy. Some students are totally depending on their parents for the study expenses and others do a part-time job. In each case, students don’t have much to pay for availing assignment help online. That’s why here we are to offer the best assignment help Australia that even at the affordable rates. Your assignment will be done by the experts and that will be on-time. Also, it is guaranteed that you will get the best grade for your assignment which is done by our experts’ team. Due to rich knowledge, now we understand well how to write the best assignments for the students. If you are thinking to avail of the assignment help online, just dial our number. We are sure that you will have the best experience with us.

    #2748
    Anonymní uživatel
    Neaktivní

    Cron máte asi špatně.
    0 2 * * * restartuje vždy ve dvě hodiny v noci.
    Pokud bude cron jako root tak neni potřeba sudo.

    Pro neděli ráno je potřeba mít cron
    0 2 * * 7
    https://crontab.guru/#0_2_*_*_7

Aktuálně jsou na stránce zobrazeny 3 příspěvky - 1. až 3. (celkem z 3)
  • Pro reakci na toto téma se musíte přihlásit.