running scripts in crontab
Posted: Mon Oct 27, 2008 4:09 am
need help in scheduling the task in cron tables...
AST_CRON_mix_recordings_GSM.pl
scenario...
i want to run this scripts once the in.wav and out.wav files has finish the conversation , but the problem is when the recording has not yet finish it automatically run the scripts..it successfully merge the in and out files and convert it into GSM file but the result is break GSM files, and the conversation was chopped..
How can i set this script that when the recordings starts.. the scripts will wait first until both in and out finish before it runs the AST_CRON_mix_recordings_GSM.pl
in /var/spool/asterisk/monitor...
any suggestions?????
here's my scripts in cron tables
1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 AST_CRON_mix_recordings_GSM.pl
AST_CRON_mix_recordings_GSM.pl
scenario...
i want to run this scripts once the in.wav and out.wav files has finish the conversation , but the problem is when the recording has not yet finish it automatically run the scripts..it successfully merge the in and out files and convert it into GSM file but the result is break GSM files, and the conversation was chopped..
How can i set this script that when the recordings starts.. the scripts will wait first until both in and out finish before it runs the AST_CRON_mix_recordings_GSM.pl
in /var/spool/asterisk/monitor...
any suggestions?????
here's my scripts in cron tables
1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 AST_CRON_mix_recordings_GSM.pl