From c8df291d488a9f08bb22c6fbf2d2b947d9483927 Mon Sep 17 00:00:00 2001 From: Thomas Kidd Date: Sat, 9 Mar 2024 14:21:04 -0600 Subject: [PATCH] updated nightly runs with try statement in email sending --- bin/nightly_build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/nightly_build.py b/bin/nightly_build.py index fdb04e9d5..63c7a9808 100755 --- a/bin/nightly_build.py +++ b/bin/nightly_build.py @@ -37,6 +37,7 @@ Usage: Our cron job has the following syntax: 0 3 * * * BASH_ENV=~/.bashrc bash -l -c "*WHERE YOUR CVW IS MUST PUT FULL PATH*/cvw/bin/wrapper_nightly-runs.sh > *WHERE YOU WANT TO STORE LOG FILES/cron.log 2>&1" + 0 3 * * * BASH_ENV=~/.bashrc bash -l -c "*WHERE YOUR CVW IS MUST PUT FULL PATH*/cvw/bin/wrapper_nightly-runs.sh > *WHERE YOU WANT TO STORE LOG FILES/cron.log 2>&1" This cronjob sources the .bashrc file and executes the wrapper script as a user. @@ -101,6 +102,8 @@ class FolderManager: These folders are: nightly-runs/repos/ nightly-runs/results/ + nightly-runs/repos/ + nightly-runs/results/ Args: folders (list): A list of folder names to be created. @@ -175,6 +178,7 @@ class TestRunner: Args: folder: the "nightly-runs/repos/" + folder: the "nightly-runs/repos/" Returns: bool: True if the script is copied successfully, False otherwise.