running scripts in crontab

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

running scripts in crontab

Postby taycute » 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
Last edited by taycute on Mon Oct 27, 2008 8:21 am, edited 1 time in total.
taycute
 
Posts: 12
Joined: Tue Aug 19, 2008 2:24 am

Postby mflorell » Mon Oct 27, 2008 7:39 am

astguiclient version?
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby taycute » Mon Oct 27, 2008 8:17 am

astguiclient 2.0.3

matt
taycute
 
Posts: 12
Joined: Tue Aug 19, 2008 2:24 am

Postby mflorell » Mon Oct 27, 2008 6:18 pm

I would strongly suggest upgrading to 2.0.4.1rc5, the recording handling scripts have been completely rewritten.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby taycute » Mon Oct 27, 2008 10:03 pm

hmmm.. ok

anywayz thnx for the suggestions...

i try to upgrade it to 2.0.4
taycute
 
Posts: 12
Joined: Tue Aug 19, 2008 2:24 am


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 95 guests