Bug #216
TTS Folder not being cleared by cron task.
| Status: | Closed | Start: | 10/26/2009 | |
|---|---|---|---|---|
| Priority: | High | Due date: | 12/31/2009 | |
| Assigned to: | bsau | % Done: | 100% |
|
| Category: | - | |||
| Target version: | Weather by ZIP Code - v 1.1.6 |
Description
As reported in PBXIAF forums:
http://pbxinaflash.com/forum/showpost.php?p=35655&postcount=18
I see periodic messages from cron like this:
/usr/bin/find: rm/var/lib/asterisk/sounds/tts/tts-fea09a5a07c73a9cd878a58661f7687e.wav: No such file or directory
the problem seems to be that there is no space between the 'rm' and the pathname. I found this thread talking about a similar issue. I uninstalled and re-installed the weather by zip module, but I see the same suspicious line in the cronmanager mysql table:
| weatherzip | every_day | 23 | 24 | 0 | /usr/bin/find /var/lib/asterisk/sounds/tts -name "*.wav" -mtime +1 -exec rm{} \; |
notice the lack of a space between the 'rm' and the '{}'?
History
Updated by tshif 7 months ago
- Status changed from New to QA Testing
- % Done changed from 0 to 30
Ok - I put the space in.
Updated by tshif 7 months ago
- Target version changed from Weather by ZIP Code - Future Releases to Weather by ZIP Code - v 1.1.6
Updated by bsau 7 months ago
- Assigned to set to bsau
- % Done changed from 30 to 70
Initial install and functional test reveal no new issues. Testing will be considered complete when the cron task has been successful and deleted the files in the tts folder. I have created one by listening to the weather.
Updated by bsau 7 months ago
- Due date set to 12/31/2009
- % Done changed from 70 to 80
The cron tasks succesfully cleared the tss folder, no cron task errors were recorded in the FreePBX interface.
Updated by tshif 7 months ago
- Status changed from QA Testing to Resolved
- % Done changed from 80 to 90
I just finished testing the changes also. Same report, this seems to be working properly now.
Well give it another 12 hours for others to chime in, and then if no problems are reported, we will release it.