I focused my attention on record compression and noticed that this job is run every 3 minutes. I think this is not the best way to deal with that and I suggest the following changes:
1. Once a day compression and transfer of compressed files:
- Code: Select all
*/4 08-22 * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
00 02 * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
2. In stead of having several processes (one per task at the moment) it could be easier to manage the operation flow by having a single executable file to deal with all operation (ranging from mixing to transfer).
3. It would be great to have a security to insure that the process is not already running. This would prevent 2 or more compression process to run at the same time, situation that can lead to crash the server when they come competing with one an other for the same resources.