Is there anyway to Auto-login on the bulk download tool.

I'm writing a batch file so I can schedule a download and delete every
night and Im stuck as the thing requires a login and there doesn't
seem to be any parameters to pass this in the request.

Any help greatly appreciated!


echo on
REM ##  Tracker

@echo off

FOR /F "TOKENS=1* DELIMS= " %%A IN ('DATE/T') DO SET CDATE=%%B
FOR /F "TOKENS=1,2 eol=/ DELIMS=/ " %%A IN ('DATE/T') DO SET mm=%%B
FOR /F "TOKENS=1,2 DELIMS=/ eol=/" %%A IN ('echo %CDATE%') DO SET dd=%
%B
FOR /F "TOKENS=2,3 DELIMS=/ " %%A IN ('echo %CDATE%') DO SET yyyy=%%B
SET date=%yyyy%%mm%%dd%
set deldate=%yyyy%-%mm%-%dd%

FOR /f "tokens=1" %%u IN ('TIME /t') DO SET t=%%u
IF "%t:~1,1%"==":" SET t=0%t%
@REM set timestr=%d:~6,4%%d:~3,2%%d:~0,2%%t:~0,2%%t:~3,2%
set time=%t:~0,2%%t:~3,2%

@echo on

"c:\Program Files\Google\google_appengine\appcfg.py" download_data

--config_file=E:\FEEDSYSTEMS\TRACKER\tracker-export.py --filename=%date
%data_archive.csv --batch_size=100

--kind="SearchRec" ./TRACKER

curl --retry 20 --retry-delay 10 -N 
http://tracker###.appspot.com/delete?date=%deldate%

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to