Changeset 36539


Ignore:
Timestamp:
2022-08-31T10:06:33+12:00 (5 weeks ago)
Author:
kjdon
Message:

can't seem to run several envi scripts in a row. it never returns?? Anyway, made this so you pass in an arg and that is the thing you run. windows task schedular set up to run each on individually, as on linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gs-release-builder/nightlies-with-logs.bat

    r36336 r36539  
    1 echo "Running nightly scripts"
     1@echo off
     2echo Running a nightly: %1%
     3if %1%==gs3-caveat (
     4echo gs3-caveat
     5C:\greenstone\gs-release-builder\create-gs3-caveat-windows.bat > C:\greenstone\gs-release-builder\logs\gs3.out 2>&1
     6)
     7if %1%==gs2-caveat (
     8echo gs2-caveat
     9C:\greenstone\gs-release-builder\create-gs2-caveat-windows.bat > C:\greenstone\gs-release-builder\logs\gs2.out 2>&1
     10)
     11if %1%==upload (
     12echo upload
     13"C:\greenstone\gs-release-builder\packages\strawberry-perl-5.18\perl\bin\perl.exe" -S C:\greenstone\gs-release-builder\upload-to-www-internal-windows.pl > C:\greenstone\gs-release-builder\logs\upload.out 2>&1
     14)
     15echo Done
    216
    3 C:\greenstone\gs-release-builder\create-gs3-caveat-windows.bat > C:\greenstone\gs-release-builder\logs\gs3.out 2>&1
    4 
    5 C:\greenstone\gs-release-builder\create-gs2-caveat-windows.bat > C:\greenstone\gs-release-builder\logs\gs2.out 2>&1
    6 
    7 C:\greenstone\gs-release-builder\upload-to-www-internal-windows.pl > C:\greenstone\gs-release-builder\logs\upload.out 2>&1
    8 
    9 echo "Done"
    10 
Note: See TracChangeset for help on using the changeset viewer.