"test sys_refresh_ref_cron.sh"
This commit is contained in:
parent
8f743c5e28
commit
4db7d19773
@ -182,7 +182,7 @@ function refresh_cronjobs
|
||||
if [ ${#RESULT} -eq 0 ]; then
|
||||
fct_message "Cronjob not in database, inserting..."
|
||||
REQUEST_INSERT_PARAMS=$(echo ${REQUEST_ID_PARAMS} | sed -s 's/and/,/g')
|
||||
psql -t -h ${DB_HOST} -U ${DB_USER} -d ${DB_DATABASE} -c "insert in ref_cron values (${REQUEST_INSERT_PARAMS});"
|
||||
psql -t -h ${DB_HOST} -U ${DB_USER} -d ${DB_DATABASE} -c "insert into ref_cron values (${REQUEST_INSERT_PARAMS});"
|
||||
else
|
||||
fct_message "Cronjob already in database"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user