Exemplo n.º 1
0
        //public void OneOffRun(string inputUri, string outputRootFolder, )
        protected override void Run()
        {
            Init();
            TotalReportList.Add("Original name\tWave name\tDuration(s)");
            foreach (string subPath in Cfg.InputAzureFolderPathArray)
            {
                TransferFromAzureToAzure(AzureUtils.GetFullUriString(subPath), Cfg.OutputAzureRootFolderPath, Cfg.DailyRootFolderPath);
            }
            string errorPath  = Cfg.ReportRootFolderPath + ".error";
            string reportPath = Cfg.ReportRootFolderPath + ".log";

            File.WriteAllLines(errorPath, TotalErrorList);
            File.WriteAllLines(reportPath, TotalReportList);
        }