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>
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!"