removing intermediate link to cronoutput.txt
authorJason Etheridge <jason@esilibrary.com>
Thu, 10 Sep 2015 20:34:10 +0000 (16:34 -0400)
committerJason Etheridge <jason@esilibrary.com>
Thu, 10 Sep 2015 20:34:10 +0000 (16:34 -0400)
for now.  The current CRON entries for ~live on our testing server look like this:

0 4 * * * /home/live/git/random/qa/test.sh > /tmp/cronoutput.txt 2>&1 && mv /tmp/cronoutput.txt /home/live/public_html/
0 16 * * * /home/live/git/random/qa/test.sh > /tmp/cronoutput.txt 2>&1 && mv /tmp/cronoutput.txt /home/live/public_html/

We can do some fancy file footwork later to expose the content for cronoutput.txt while test.sh is running.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
qa/test.sh

index ca9c265..a5f459c 100755 (executable)
@@ -33,7 +33,7 @@ echo "*** Test archived"
 
 echo "*** Setting up new output"
 cp $LOCAL_QA_GIT_PATH/qa/test_output.css .
-echo '<html><head></head><body><h1>Testing in progress</h1>[<a href="cronoutput.txt">test.sh output</a>][<a href="archive/">Previous Runs</a>]</body></html>' > test.html
+echo '<html><head></head><body><h1>Testing in progress</h1>[<a href="archive/">Previous Runs</a>]</body></html>' > test.html
 ln -s test.html index.html
 echo "*** Ready to test!"