Page 1 of 1

crontab FTP archiving

PostPosted: Mon Apr 21, 2014 1:39 pm
by newbieboy
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

Re: crontab FTP archiving

PostPosted: Tue Apr 22, 2014 5:02 am
by boybawang
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

Re: crontab FTP archiving

PostPosted: Tue Apr 22, 2014 11:16 am
by newbieboy
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

Re: crontab FTP archiving

PostPosted: Tue Apr 22, 2014 11:21 am
by boybawang
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

Re: crontab FTP archiving

PostPosted: Tue Apr 22, 2014 12:13 pm
by newbieboy
Got it, but how about the VDonly.pl?

Thanks for answering all my questions.

NBT