Hp XP7 Storage Manual do Utilizador Página 103

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 102
Registration example
Create a configuration report at 21:00 every day (CreateReport.bat).
Download a configuration report at 22:00 every day (DownloadReport.bat).
Procedure
1. Store the two script files in the C:\Reports folder.
C:\Reports
CreateReport.bat
DownloadReport.bat
2. Run the Windows schtasks command to register the two script files as a task of Windows.
Make sure that the <Username for Windows> parameter of this command is a user who
has write permissions to the following two folders.
C:\Reports folder
The log folder in the installation folder of the Report Configuration Tool.
schtasks /create /tn CreateReport /tr
"C:\Reports\CreateReport.bat" /sc DAILY /st. 21:00:00 /ru
<Username for Windows> /rp <Password for Windows> schtasks /create
/tn DownloadReport /tr "C:\Reports\DownloadReport.bat" /sc DAILY
/st 22:00:00 /ru <Username for Windows> /rp <Password for Windows>
3. Run the schtasks /Query command to confirm that the Windows task is registered.
C:\>schtasks /Query
Task name Time of next execution Status
============= ====================== ===============
CreateReport 21:00:00, 2011/05/17
DownloadReport 22:00:00, 2011/05/17
Managing tasks 103
Vista de página 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 257 258

Comentários a estes Manuais

Sem comentários