add url notify options to scripts

This commit is contained in:
2016-05-06 22:46:17 -04:00
parent f4ebeefad1
commit 1ce89a124e
2 changed files with 21 additions and 8 deletions
+2 -3
View File
@@ -18,7 +18,6 @@ input_directory_name="input"
cleaned_input_directory_name="clninput"
touser_directory_name="fitresult/touser"
nottouser_directory_name="fitresult/nottouser"
notify_url=""
# import the settings from piscal.cfg
# $piscal_executable and $storage_directory
@@ -103,6 +102,6 @@ if [ -z "$suppress_storage_copy" ]; then
fi
# notify given url of completion
if [ -z "$notify_url" ]; then
wget -qO- "$notify_url" &> /dev/null
if [ -n "$notify_url" ]; then
wget -qO- "$notify_url" # &> /dev/null 2>&1
fi