updated nightly runs with try statement in email sending

This commit is contained in:
Thomas Kidd 2024-03-09 14:21:04 -06:00
parent 0caed8f8c6
commit c8df291d48

View File

@ -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.