IT Pro - Servidores /

programar tarea

Participa en el tema programar tarea en el foro IT Pro - Servidores.
tengo que programar una tarea para que a determinada hora apage o resetee un equipo ...

Buscar en este tema:
 
  •  
    #1 programar tarea
    tengo que programar una tarea para que a determinada hora apage o resetee un equipo remoto

    estoy usando el radmin para manejo remoto pero le falta esa ficha, la de programar un reset a cierta hora.

    saben de algun soft que pueda ayudarme en esto ?

    gracias.
    ®
    +
     
    0
    Me gusta
     
    | Más
  • #2

    porque no le tiras un shutdown por linea de comando y lo programas con el scheduler de windows?
    Me gusta este mensaje
  • #3 como ?

    no te comprendo......
    como lo harías ?......
    Me gusta este mensaje
  • #4

    Primero creas un bat con este contenido

    shutdown -r -f -m \\nombremaquina

    despues vas al programador de tareas (scheduler) de windows y armas una tarea que se ejecute cuando vos quieras llamando ese bat

    si tenes dudas sobre como funciona el shutdown te copio la ayuda de windows

    ShutdownAllows you to shut down or restart a local or remote computer.

    Syntax
    shutdown [{-i | -l | -s | -r | -a}] [-f] [-m \\ComputerName] [-t xxx] [-c "comment"] [-d [u] [p]:xx:yy]

    Parameters
    -i
    Displays the Remote Shutdown Dialog box. Must be the first option.
    -l
    Logs off the current user. This is also the default. -m \\ComputerName takes precedence.
    -s
    Shuts down the computer.
    -r
    Reboots after shutdown.
    -a
    Aborts shutdown. Ignores other parameters except for -l and ComputerName. You can only use -a during the time-out period.
    -f
    Forces running applications to close.
    -m \\ComputerName
    Specifies the computer that you want to shut down.
    -t xxx
    Sets the timer for system shutdown in xxx seconds. The default is 20 seconds.
    -c "comment"
    Allows you to comment in detail about the reason for the shutdown. You can use a maximum of 127 characters. You must enclose the message in quotation marks.
    -d [u][p]:xx:yy
    Lists the reason code for the shutdown. The following table lists the different values. Value Description
    u Indicates a user code. Use when you want to specify a user-defined, or custom, reason.
    p Indicates a planned shutdown code.
    xx Specifies the major reason code (0-255).
    yy Specifies the minor reason code (0-65535).

    /?
    Displays help at the command prompt.
    Remarks
    [Reviewers: Is this correct?]If you indicate a major and minor reason code, you must first define these reason codes on each computer for which you plan to use the particular reason. If the reason codes are not defined on the target computer, Event Viewer cannot log the correct reason text.
    Examples
    To shut down \\MyServer in 60 seconds, force running applications to close, restart the computer after shutdown, indicate a user code, indicate that the shutdown is planned, log major reason code 125, and log minor reason code 1, type:

    shutdown -r -f -m \\MyServer -t 60 -d up:125:1

    Formatting legend
    Format Meaning
    Italic Information that the user must supply
    Bold Elements that the user must type exactly as shown
    Ellipsis (...) Parameter that can be repeated several times in a command line
    Between brackets ([]) Optional items
    Between braces ({}); choices separated by pipe (|). Example: {even|odd} Set of choices from which the user must choose only one
    Courier font Code or program output
    Me gusta este mensaje


Estadísticas del tema
  • 3 RESPUESTAS
  • 1256 VISTAS
  • 2 USUARIOS RESPONDIERON
 
Ir arriba
Contacto | Acerca de | Ayuda | Términos Legales | privacidad | Pautas de convivencia | Mapa de los foros | TrabajÁ con nosotros
©2008 Psicofxp.com S.A. - Todos los derechos reservados
Certifica IAB