diff --git a/universal/services/QueueCleaner b/universal/services/QueueCleaner index 276c468..ec54e2e 100644 --- a/universal/services/QueueCleaner +++ b/universal/services/QueueCleaner @@ -1,16 +1,16 @@ #!/usr/bin/with-contenv bash -scriptVersion="1.1" +scriptVersion="1.2" scriptName="QueueCleaner" -#### Import Settings -source /config/extended.conf - log () { m_time=`date "+%F %T"` echo $m_time" :: $scriptName :: $scriptVersion :: "$1 } verifyConfig () { + #### Import Settings + source /config/extended.conf + if [ "$enableQueueCleaner" != "true" ]; then log "Script is not enabled, enable by setting enableQueueCleaner to \"true\" by modifying the \"/config/extended.conf\" config file..." log "Sleeping (infinity)"