|
|
|
@ -178,9 +178,9 @@ function testConf {
|
|
|
|
|
|
|
|
|
|
function testDate {
|
|
|
|
|
if [ "$BKCYCLE" = "weekly" ]; then
|
|
|
|
|
local dateType = "+%u"
|
|
|
|
|
local dateType="+%u"
|
|
|
|
|
elif [ "$BKCYCLE" = "monthly" ]; then
|
|
|
|
|
local dateType = "+%-d"
|
|
|
|
|
local dateType="+%-d"
|
|
|
|
|
else
|
|
|
|
|
echo "BKCYCLE not correctly configured"
|
|
|
|
|
exit 1
|
|
|
|
|