FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 219cc5b3 authored by J.W. Smith's avatar J.W. Smith
Browse files

Fixed typo which had caused no new surveys to be used since last commit

parent 78d2017b
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ sub handleError {
#Send email notifications:
foreach my $maintainer (@maintainers) {
#system("/storage/app/servermail/servermail/servermail.sh -r ".$maintainer." -s \"ERROR in the Ethiopia EWS ".$jobIDString." ".$failTimeStamp."\" -m \"".$errorString."\n\nError encountered at ".$failTimeStamp." during running of ".$jobIDString." initiated at ".$debugTimeString.".\n\nAutomatic running of ".$jobIDString." has been suspended.\n\nResolve this error and remove the error file ".$failFilePath." to reenable automatic processing of ".$jobIDString."\"");
system("/storage/app/servermail/servermail/servermail.sh -r ".$maintainer." -s \"ERROR in the Ethiopia EWS ".$jobIDString." ".$failTimeStamp."\" -m \"".$errorString."\n\nError encountered at ".$failTimeStamp." during running of ".$jobIDString." initiated at ".$debugTimeString.".\n\nAutomatic running of ".$jobIDString." has been suspended.\n\nResolve this error and remove the error file ".$failFilePath." to reenable automatic processing of ".$jobIDString."\"");
}
#Log error with error file:
......@@ -69,7 +69,7 @@ sub handleWarning {
#Send email notifications:
foreach my $maintainer (@maintainers) {
#system("/storage/app/servermail/servermail/servermail.sh -r ".$maintainer." -s \"WARNING in the Ethiopia EWS ".$jobIDString." ".$warningTimeStamp."\" -m \"".$warningString."\n\nWarning encountered at ".$warningTimeStamp." during running of ".$jobIDString." initiated at ".$debugTimeString."\"");
system("/storage/app/servermail/servermail/servermail.sh -r ".$maintainer." -s \"WARNING in the Ethiopia EWS ".$jobIDString." ".$warningTimeStamp."\" -m \"".$warningString."\n\nWarning encountered at ".$warningTimeStamp." during running of ".$jobIDString." initiated at ".$debugTimeString."\"");
}
}
......@@ -130,7 +130,7 @@ my $getDataCmd = "java -jar ".$serverJar." --pull_aggregate --form_id ".$serverF
system($getDataCmd);
#Check it came down cleanly (serverOutputDir is created whether cleanly or not):
unless(-d $serverOutputDir."/ODK Briefcase storage/forms/Wheat rust survey 1_0") {
unless(-d $serverOutputDir."/ODK Briefcase Storage/forms/Wheat rust survey 1_0") {
#An error, the survey data should always be available
#May have to revise this to a warning depending on how reliable the server is
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment