crontab FTP archiving

All installation and configuration problems and questions

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

crontab FTP archiving

Postby newbieboy » Mon Apr 21, 2014 1:39 pm

Hi Sir/s,

Need help.

What scripts do i need to enable to do archiving?

Currently, I have move_mix without --MIX, audio 2 compress and audio 3 ftp.

My problems is, when i checked on my HD, i noticed that there were recordings on recordings/MIX which is about 200G+. Can i delete those? As i understand it, /AST_CRON_audio_1_move_mix.pl will mix the -in and -out file and move it to monitorDONE/ORIG. Please correct me if I'm wrong.

Thanks,
NBT
newbieboy
 
Posts: 3
Joined: Mon Apr 21, 2014 1:23 pm

Re: crontab FTP archiving

Postby boybawang » Tue Apr 22, 2014 5:02 am

make sure you have this on your crontab

### recording mixing/compressing/ftping scripts
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --MIX
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --GSM

#upload to ftp archive server
2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --GSM


then you check your /etc/astguiclient.conf and configure the details of your ftp server there
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Re: crontab FTP archiving

Postby newbieboy » Tue Apr 22, 2014 11:16 am

Hi boybawang,

What does VDonly.pl do?

What's the difference between audio_1_move_mix.pl from audio_1_move_mix.pl --MIX?

About the 200G+ on monitor/MIX folder, can i delete it?

Thanks,
NBT
newbieboy
 
Posts: 3
Joined: Mon Apr 21, 2014 1:23 pm

Re: crontab FTP archiving

Postby boybawang » Tue Apr 22, 2014 11:21 am

the MIX folder contains RAW audio that hasnt been mixed together probably your missing the SOX application because once a recording is processed it is moved from the MIX folder to the monitorDONE folder, you can also try running the cronjobs manually see if it moves those files from the MIX directory to the monitorDONE directory
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 989
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Re: crontab FTP archiving

Postby newbieboy » Tue Apr 22, 2014 12:13 pm

Got it, but how about the VDonly.pl?

Thanks for answering all my questions.

NBT
newbieboy
 
Posts: 3
Joined: Mon Apr 21, 2014 1:23 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 82 guests

cron