"test sys_refresh_ref_cron.sh"
This commit is contained in:
parent
7452567379
commit
726b83b629
@ -185,7 +185,7 @@ function refresh_cronjobs
|
||||
REQUEST_INSERT_PARAMS="'${VM}', '${TETALAB_USER}', '${MINUTES}',
|
||||
'${HOURS}', '${DAYS}', '${DAYSOFWEEKS}', '${COMMAND}'"
|
||||
psql -t -h ${DB_HOST} -U ${DB_USER} -d ${DB_DATABASE} -c "insert into ref_cron
|
||||
('host', 's_user', 'minutes', 'hours', 'days', 'daysofweek', 'command')
|
||||
(\"host\", \"s_user\", \"minutes\", \"hours\", \"days\", \"daysofweek\", \"command\")
|
||||
values (${REQUEST_INSERT_PARAMS});"
|
||||
else
|
||||
fct_message "Cronjob already in database"
|
||||
|
Loading…
Reference in New Issue
Block a user