Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1448)

Side by Side Diff: chrome-update-create-task.bat

Issue 306031: Rewrite chrome-update.py and .bat.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome-update.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 @echo off 1 @echo off
2 :: Copyright (c) 2009 The Chromium Authors. All rights reserved. 2 :: Copyright (c) 2009 The Chromium Authors. All rights reserved.
3 :: Use of this source code is governed by a BSD-style license that can be 3 :: Use of this source code is governed by a BSD-style license that can be
4 :: found in the LICENSE file. 4 :: found in the LICENSE file.
5 5
6 setlocal 6 setlocal
7 7
8 :: This script will create a scheduled task to run chrome-update every day 8 :: This script will create a scheduled task to run chrome-update every day
9 :: at the time you specify. This script expects to be live in 9 :: at the time you specify. This script expects to be live in
10 :: depot_tools\latest. 10 :: depot_tools\latest.
(...skipping 17 matching lines...) Expand all
28 set Choice= 28 set Choice=
29 set /P Choice=Overwrite file [Y/N]? 29 set /P Choice=Overwrite file [Y/N]?
30 if not "%Choice%"=="y" goto CreateTask 30 if not "%Choice%"=="y" goto CreateTask
31 31
32 :CreateScript 32 :CreateScript
33 33
34 echo. 34 echo.
35 echo Creating %Out% 35 echo Creating %Out%
36 36
37 echo>"%Out%" @echo off 37 echo>"%Out%" @echo off
38 echo>>"%Out%" "%~dp0chrome-update.bat" "%Trunk%" ^> "%Trunk%\chrome-update-resul ts.txt" 38 echo>>"%Out%" "%~dp0chrome-update.bat" "%Trunk%" --solution chrome.sln --target Debug --build-dir src/chrome ^> "%Trunk%\chrome-update-results.txt"
39 39
40 :CreateTask 40 :CreateTask
41 41
42 echo. 42 echo.
43 echo *********************************************************************** 43 echo ***********************************************************************
44 echo Creating a Scheduled Task to run chrome-update each day at %TaskTime%. 44 echo Creating a Scheduled Task to run chrome-update each day at %TaskTime%.
45 echo The batch file being run will live at %Out%. 45 echo The batch file being run will live at %Out%.
46 echo. 46 echo.
47 echo WARNING: The password you enter will be displayed in cleartext. 47 echo WARNING: The password you enter will be displayed in cleartext.
48 echo If you're paranoid, you can enter blank here and then fix the password 48 echo If you're paranoid, you can enter blank here and then fix the password
49 echo by editing the scheduled task manually from the Control Panel. 49 echo by editing the scheduled task manually from the Control Panel.
50 echo *********************************************************************** 50 echo ***********************************************************************
51 echo. 51 echo.
52 schtasks /create /tn chrome-update /tr "\"%Out%\"" /sc daily /st %TaskTime% 52 schtasks /create /tn chrome-update /tr "\"%Out%\"" /sc daily /st %TaskTime%
OLDNEW
« no previous file with comments | « chrome-update.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698