Page 1 of 1

running scripts in crontab

PostPosted: Mon Oct 27, 2008 4:09 am
by taycute
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

PostPosted: Mon Oct 27, 2008 7:39 am
by mflorell
astguiclient version?

PostPosted: Mon Oct 27, 2008 8:17 am
by taycute
astguiclient 2.0.3

matt

PostPosted: Mon Oct 27, 2008 6:18 pm
by mflorell
I would strongly suggest upgrading to 2.0.4.1rc5, the recording handling scripts have been completely rewritten.

PostPosted: Mon Oct 27, 2008 10:03 pm
by taycute
hmmm.. ok

anywayz thnx for the suggestions...

i try to upgrade it to 2.0.4