tis-poweroff icon

Poweroff

Silent install package for Poweroff

103-1

  • package: tis-poweroff
  • name: Poweroff
  • version: 103-1
  • categories: Utilities
  • maintainer: Simon FONTENEAU, Tranquil IT
  • locale: all
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 10.96 Ko

package           : tis-poweroff
version           : 103-1
architecture      : all
section           : base
priority          : optional
name              : Poweroff
categories        : Utilities
maintainer        : Simon FONTENEAU, Tranquil IT
description       : Force the shutdown at 2:00 am, try to shutdown the computer at 18h00 if no one is connected, works as a scheduled task.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Forcer l'arrêt à 2h00 du matin, essayer d'éteindre l'ordinateur à 18h00 si personne n'est connecté, fonctionne comme une tâche programmée.
description_pl    : Wymusić wyłączenie komputera o 2:00 rano, spróbować wyłączyć komputer o 18:00, jeśli nikt nie jest podłączony, działa jak zaplanowane zadanie.
description_de    : Erzwingen Sie die Abschaltung um 2:00 Uhr morgens, versuchen Sie, den Computer um 18:00 Uhr herunterzufahren, wenn niemand verbunden ist, arbeitet als geplante Aufgabe.
description_es    : Forzar el apagado a las 2:00 am, intentar apagar el ordenador a las 18h00 si no hay nadie conectado, funciona como una tarea programada.
description_pt    : Forçar o encerramento às 2h00, tentar desligar o computador às 18h00 se ninguém estiver ligado, funciona como uma tarefa programada
description_it    : Forzare lo spegnimento alle 2:00 del mattino, provare a spegnere il computer alle 18:00 se nessuno è connesso, funziona come un'attività pianificata
description_nl    : Forceer het afsluiten om 2:00 uur, probeer de computer om 18:00 uur af te sluiten als niemand is aangesloten, werkt als een geplande taak
description_ru    : Принудительное выключение в 2:00 утра, попытка выключить компьютер в 18:00, если никто не подключен, работает как запланированная задача
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : 013b16e1-e417-4fd9-8fef-01798e02b783
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 79388621e415193721db8505e4773643efd00fef31582f202b49d1f2651add69
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : dHyib2M89qgpmMoasRtQ+OvkXTT3CqgSXkarLxvVQMxaPQx+bEsYq7SjNrELqmJpDUKvt563y817dJPPbtxs3I/GzCcvTBb5QSipSQFNn3FxLJd2BveyIGRvCJPe0SWFhzO0RDW/7DwIqYx/K8roY6B0g6xkfJKmJU1wetvvWFW/BpLcYKt9muz9zqPvYSJmqcH4NSNIEWbPdrL8MoLOFbaZesDVZ7kTAWgCSQ7KArfo8pwmrNLOXImOuCR7pujEEOS75jfimF2SNKrkH6351Mx+T76HvS64/naijQo+yZ9D2lh/XwX4WXfVE8hcu8Dwlmw4p89IzO7xnSxkdienMg==
signature_date    : 2022-08-03T13:04:15.745315
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes

# -*- coding: utf-8 -*-
from setuphelpers import *


def install():
    if windows_version() > Version('6.0'):
        run('schtasks /Create /TN "test_shutdown_windows" /f /RU SYSTEM /xml test_shutdown_windows.xml')
        if not task_exists('test_shutdown_windows'):
            error('test_shutdown_windows not exist')

    if task_exists('force_shutdown_windows') :
        run('schtasks /delete /f /tn "force_shutdown_windows"')

    create_daily_task('force_shutdown_windows','shutdown','/s /f /t 60', max_runtime=120,start_hour=2,start_minute=00)

    if not task_exists('force_shutdown_windows'):
        error('force_shutdown_windows not exist')


6d186c181e2d0b1ad592c9a853bb94a771d8b7f6a559024f9e7cb1d3a238deec : setup.py
e199bb395254d7bf2902fec2d4f81fcbafb05db6974c2885050212f4f75b4119 : test_shutdown_windows.xml
79388621e415193721db8505e4773643efd00fef31582f202b49d1f2651add69 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
a373306afed0419d5467f8450ab554b49a6a4f25ebbf4d48a1fc2eb670bd0f85 : luti.json
76a432becfa14fcc86446ddb88f8aa7b2a42c1731d4c91290df9d65f1cc93097 : WAPT/control