Recording on hourly basis


#1

Is there any way through which we can create recording in separate folder on hourly basis.

it will be great help if anybody can help me


#2

if you think to have a path like that: /path/somewhere/year/month/hours/record.wav then just build path before invoke monitor application

same => n,Set(PATH=/path/somewhere/)
same => n,SET(MONTH=${STRFTIME(${EPOCH},%m)})
same => n,SET(YEAR=${STRFTIME(${EPOCH},%Y)})
same => n,SET(HOUR=${STRFTIME(${EPOCH},%H)})
same => n,Set(MONITOR_FILENAME=${PATH}${YEAR}/${HOUR}/${UNIQUEID}.wav)