Desfragmentar automaticamente

27/01/2005 - 11:03 por Jordi | Informe spam
Buenos dias,

Hay algun comando para que cada lunes a las 14:00 (por ejemplo) win 2003
server se desfragmente automaticamente?

Gracias y saludos

Jordi

Preguntas similare

Leer las respuestas

#1 Juansa [MS MVP]
27/01/2005 - 11:31 | Informe spam
Tareas programadas.

Espero serte de ayuda.
Salu2!

Juansa
MS MVP Windows Server Networking

"La vida es fascinante: sólo hay que mirarla a través de las gafas
correctas".
Alejandro Dumas (1803-1870); escritor francés
"Aprender sin pensar es inútil. Pensar sin aprender, peligroso".
Confucio (551-479 a. C.); filósofo chino.
"Un error no se convierte en verdad por el hecho de que todo el mundo
crea en él".
Mahatma Gandhi (1869-1948); político y pensador indio.

"Jordi" wrote in message
news:
Buenos dias,

Hay algun comando para que cada lunes a las 14:00 (por ejemplo) win 2003
server se desfragmente automaticamente?

Gracias y saludos

Jordi
Respuesta Responder a este mensaje
#2 Jordi
27/01/2005 - 12:33 | Informe spam
Pero no se ejecutara, solo se abrira, no ?

"Juansa [MS MVP]" escribió:

Tareas programadas.

Espero serte de ayuda.
Salu2!

Juansa
MS MVP Windows Server Networking

"La vida es fascinante: sólo hay que mirarla a través de las gafas
correctas".
Alejandro Dumas (1803-1870); escritor francés
"Aprender sin pensar es inútil. Pensar sin aprender, peligroso".
Confucio (551-479 a. C.); filósofo chino.
"Un error no se convierte en verdad por el hecho de que todo el mundo
crea en él".
Mahatma Gandhi (1869-1948); político y pensador indio.

"Jordi" wrote in message
news:
> Buenos dias,
>
> Hay algun comando para que cada lunes a las 14:00 (por ejemplo) win 2003
> server se desfragmente automaticamente?
>
> Gracias y saludos
>
> Jordi



Respuesta Responder a este mensaje
#3 Javier Inglés [MS MVP]
27/01/2005 - 12:56 | Informe spam
En 2003 se deja programada toda la tarea

Salu2!!
Javier Inglés
MS MVP, Windows Server-Directory Services





"Jordi" escribió en el mensaje
news:
Pero no se ejecutara, solo se abrira, no ?

"Juansa [MS MVP]" escribió:

Tareas programadas.

Espero serte de ayuda.
Salu2!

Juansa
MS MVP Windows Server Networking

"La vida es fascinante: sólo hay que mirarla a través de las gafas
correctas".
Alejandro Dumas (1803-1870); escritor francés
"Aprender sin pensar es inútil. Pensar sin aprender, peligroso".
Confucio (551-479 a. C.); filósofo chino.
"Un error no se convierte en verdad por el hecho de que todo el mundo
crea en él".
Mahatma Gandhi (1869-1948); político y pensador indio.

"Jordi" wrote in message
news:
> Buenos dias,
>
> Hay algun comando para que cada lunes a las 14:00 (por ejemplo) win
> 2003
> server se desfragmente automaticamente?
>
> Gracias y saludos
>
> Jordi



Respuesta Responder a este mensaje
#4 Jordi
27/01/2005 - 13:31 | Informe spam
Me sabrias decir donde? La acabo de programar y solo se me ha abierto

gracias

"Javier Inglés [MS MVP]" escribió:

En 2003 se deja programada toda la tarea

Salu2!!
Javier Inglés
MS MVP, Windows Server-Directory Services





"Jordi" escribió en el mensaje
news:
> Pero no se ejecutara, solo se abrira, no ?
>
> "Juansa [MS MVP]" escribió:
>
>> Tareas programadas.
>>
>> Espero serte de ayuda.
>> Salu2!
>>
>> Juansa
>> MS MVP Windows Server Networking
>>
>> "La vida es fascinante: sólo hay que mirarla a través de las gafas
>> correctas".
>> Alejandro Dumas (1803-1870); escritor francés
>> "Aprender sin pensar es inútil. Pensar sin aprender, peligroso".
>> Confucio (551-479 a. C.); filósofo chino.
>> "Un error no se convierte en verdad por el hecho de que todo el mundo
>> crea en él".
>> Mahatma Gandhi (1869-1948); político y pensador indio.
>>
>> "Jordi" wrote in message
>> news:
>> > Buenos dias,
>> >
>> > Hay algun comando para que cada lunes a las 14:00 (por ejemplo) win
>> > 2003
>> > server se desfragmente automaticamente?
>> >
>> > Gracias y saludos
>> >
>> > Jordi
>>
>>
>>



Respuesta Responder a este mensaje
#5 Javier Inglés [MS MVP]
27/01/2005 - 14:11 | Informe spam
Perdón, tienes toda la razón:

Description
Windows XP Professional has a command line utility that allows users
to schedule the execution of tasks. The schtasks utility has a wide variety
of options. This recipe provides a simple example of scheduling a task to
run once in the future.


Directions
The minimum parameters required to run a task once are /sc (schedule),
/tr (task to run), /st (start time), and /tn (unique task name). This syntax
will run the task as the current user. To run the defrag program on the C:
drive at 11 PM, use this command:



schtasks /create /sc once /st 23:00:00 /tn cdefrag /tr "defrag
c:"



The schedule (/sc once) indicates that the task will only be executed
once. The start time (/st 23:00:00) determines the time (HH:MM:SS) that the
task will start in the 24 hour format. The task name (/th cdefrag) must be a
unique name that can be used to reference the scheduled task later. The task
to run (/tr "defrag c:") specifies the command and parameters to run.
Enclosing the task to run in quotes is required for tasks with options.

When you run the command above, it will tell you the user the task
will run under (the current user) and will prompt for that user's password.
It is possible to place the password in the command (using /rp password)
although to do so may be a security risk -- use at your own risk.

If you want to run the task as another user, specify the username with
the /ru username command option.

By default, the task will execute within the next 24 hours at the next
occurance of the start time. To run the command at the speficied time on a
different date, use the /sd mm/dd/yyyy option.

To view the scheduled events, just run schtasks with no options.



Salu2!!
Javier Inglés
MS MVP, Windows Server-Directory Services





"Jordi" escribió en el mensaje
news:
Me sabrias decir donde? La acabo de programar y solo se me ha abierto

gracias

"Javier Inglés [MS MVP]" escribió:

En 2003 se deja programada toda la tarea

Salu2!!
Javier Inglés
MS MVP, Windows Server-Directory Services





"Jordi" escribió en el mensaje
news:
> Pero no se ejecutara, solo se abrira, no ?
>
> "Juansa [MS MVP]" escribió:
>
>> Tareas programadas.
>>
>> Espero serte de ayuda.
>> Salu2!
>>
>> Juansa
>> MS MVP Windows Server Networking
>>
>> "La vida es fascinante: sólo hay que mirarla a través de las gafas
>> correctas".
>> Alejandro Dumas (1803-1870); escritor francés
>> "Aprender sin pensar es inútil. Pensar sin aprender, peligroso".
>> Confucio (551-479 a. C.); filósofo chino.
>> "Un error no se convierte en verdad por el hecho de que todo el mundo
>> crea en él".
>> Mahatma Gandhi (1869-1948); político y pensador indio.
>>
>> "Jordi" wrote in message
>> news:
>> > Buenos dias,
>> >
>> > Hay algun comando para que cada lunes a las 14:00 (por ejemplo) win
>> > 2003
>> > server se desfragmente automaticamente?
>> >
>> > Gracias y saludos
>> >
>> > Jordi
>>
>>
>>



email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaRespuesta Tengo una respuesta
Search Busqueda sugerida