add url notify options to scripts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user