by tim33 » Mon May 15, 2017 9:05 am
Hi Matt, thanks for your reply. This is my output with: 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 --MP3 --debugX
From root@linux.local Mon May 15 23:38:06 2017
Return-Path: <root@linux.local>
X-Original-To: root
Delivered-To: root@linux.local
Received: by linux.local (Postfix, from userid 0)
id BD643DE4259; Mon, 15 May 2017 23:38:06 +1000 (AEST)
From: "(Cron Daemon)" <root@linux.local>
To: root@linux.local
Subject: Cron <root@vicidial> /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3 --debugX
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
Precedence: bulk
X-Cron-Env: <XDG_SESSION_ID=22>
X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/0>
X-Cron-Env: <XDG_SEAT=seat0>
X-Cron-Env: <XDG_VTNR=1>
X-Cron-Env: <LANG=POSIX>
X-Cron-Env: <LC_CTYPE=en_US.UTF-8>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20170515133806.BD643DE4259@linux.local>
Date: Mon, 15 May 2017 23:38:06 +1000 (AEST)
----- DEBUG -----
----- SUPER DEBUG -----
MP3 audio files
DONE... EXITING
From root@linux.local Mon May 15 23:38:07 2017
Return-Path: <root@linux.local>
X-Original-To: root
Delivered-To: root@linux.local
Received: by linux.local (Postfix, from userid 0)
id 156FBDE4259; Mon, 15 May 2017 23:38:07 +1000 (AEST)
From: "(Cron Daemon)" <root@linux.local>
To: root@linux.local
Subject: Cron <root@vicidial> /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3 --debugX
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
Precedence: bulk
X-Cron-Env: <XDG_SESSION_ID=246478>
X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/0>
X-Cron-Env: <LC_CTYPE=en_US.UTF-8>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20170515133807.156FBDE4259@linux.local>
Date: Mon, 15 May 2017 23:38:07 +1000 (AEST)
----- DEBUG -----
----- SUPER DEBUG -----
MP3 audio files
DONE... EXITING
From root@linux.local Mon May 15 23:40:07 2017
Return-Path: <root@linux.local>
X-Original-To: root
Delivered-To: root@linux.local
Received: by linux.local (Postfix, from userid 0)
id 2AF8DDE426C; Mon, 15 May 2017 23:40:07 +1000 (AEST)
From: "(Cron Daemon)" <root@linux.local>
To: root@linux.local
Subject: Cron <root@vicidial> /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
Precedence: bulk
X-Cron-Env: <XDG_SESSION_ID=22>
X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/0>
X-Cron-Env: <XDG_SEAT=seat0>
X-Cron-Env: <XDG_VTNR=1>
X-Cron-Env: <LANG=POSIX>
X-Cron-Env: <LC_CTYPE=en_US.UTF-8>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20170515134007.2AF8DDE426C@linux.local>
Date: Mon, 15 May 2017 23:40:06 +1000 (AEST)
Could not find "/var/spool/asterisk/monitorDONE/20170515-233639_mymobile-all.wav".
mv: cannot stat ‘/var/spool/asterisk/monitorDONE/20170515-233639_mymobile-all.wav’: No such file or directory
From root@linux.local Mon May 15 23:41:11 2017
Return-Path: <root@linux.local>
X-Original-To: root
Delivered-To: root@linux.local
Received: by linux.local (Postfix, from userid 0)
id D6115DE4274; Mon, 15 May 2017 23:41:11 +1000 (AEST)
From: "(Cron Daemon)" <root@linux.local>
To: root@linux.local
Subject: Cron <root@vicidial> /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3 --debugX
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
Precedence: bulk
X-Cron-Env: <XDG_SESSION_ID=246502>
X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/0>
X-Cron-Env: <LC_CTYPE=en_US.UTF-8>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20170515134111.D6115DE4274@linux.local>
Date: Mon, 15 May 2017 23:41:06 +1000 (AEST)
|select recording_id,start_time from recording_log where filename='20170515-233639_mymobile' order by recording_id desc LIMIT 1;|
Net::FTP>>> Net::FTP(2.77)
Net::FTP>>> Exporter(5.68)
Net::FTP>>> Net::Cmd(2.29)
Net::FTP>>> IO::Socket::INET(1.33)
Net::FTP>>> IO::Socket(1.36)
Net::FTP>>> IO::Handle(1.34)
Net::FTP=GLOB(0x19094c0)<<< 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Net::FTP=GLOB(0x19094c0)<<< 220-You are user number 3 of 50 allowed.
Net::FTP=GLOB(0x19094c0)<<< 220-Local time is now 23:41. Server port: 21.
Net::FTP=GLOB(0x19094c0)<<< 220-This is a private system - No anonymous login
Net::FTP=GLOB(0x19094c0)<<< 220-IPv6 connections are also welcome on this server.
Net::FTP=GLOB(0x19094c0)<<< 220 You will be disconnected after 15 minutes of inactivity.
Net::FTP=GLOB(0x19094c0)>>> USER myusername
Net::FTP=GLOB(0x19094c0)<<< 331 User myusername OK. Password required
Net::FTP=GLOB(0x19094c0)>>> PASS ....
Net::FTP=GLOB(0x19094c0)<<< 230 OK. Current restricted directory is /
Net::FTP=GLOB(0x19094c0)>>> CWD recordings
Net::FTP=GLOB(0x19094c0)<<< 250 OK. Current directory is /recordings
Net::FTP=GLOB(0x19094c0)>>> MKD 2017-05-15
Net::FTP=GLOB(0x19094c0)<<< 550 Can't create directory: File exists
Net::FTP=GLOB(0x19094c0)>>> CWD 2017-05-15
Net::FTP=GLOB(0x19094c0)<<< 250 OK. Current directory is /recordings/2017-05-15
Net::FTP=GLOB(0x19094c0)>>> TYPE I
Net::FTP=GLOB(0x19094c0)<<< 200 TYPE is now 8-bit binary
Net::FTP=GLOB(0x19094c0)>>> ALLO 57024
Net::FTP=GLOB(0x19094c0)<<< 200 A L'HUILE
Net::FTP=GLOB(0x19094c0)>>> PASV
Net::FTP=GLOB(0x19094c0)<<< 227 Entering Passive Mode (103,9,171,248,230,42)
Net::FTP=GLOB(0x19094c0)>>> STOR 20170515-233639_mymobile-all.mp3
Net::FTP=GLOB(0x19094c0)<<< 150 Accepted data connection
Net::FTP=GLOB(0x19094c0)<<< 226-File successfully transferred
Net::FTP=GLOB(0x19094c0)<<< 226 0.060 seconds (measured here), 0.90 Mbytes per second
Net::FTP=GLOB(0x19094c0)>>> QUIT
Net::FTP=GLOB(0x19094c0)<<< 221-Goodbye. You uploaded 56 and downloaded 0 kbytes.
Net::FTP=GLOB(0x19094c0)<<< 221 Logout.
|UPDATE recording_log set location='http://mydomain.com.au/recordings/2017-05-15/20170515-233639_mymobile-all.mp3' where recording_id='13384';|
----- DEBUG -----
----- SUPER DEBUG -----
MP3 audio files
/var/spool/asterisk/monitorDONE/MP3/20170515-233639_mymobile-all.mp3 57024
/var/spool/asterisk/monitorDONE/MP3/20170515-233639_mymobile-all.mp3 57024
|13384|2017-05-15|20170515-233639_mymobile-all.mp3| ||
Transfered 1 files
DONE... EXITING
From root@linux.local Mon May 15 23:41:12 2017
Return-Path: <root@linux.local>
X-Original-To: root
Delivered-To: root@linux.local
Received: by linux.local (Postfix, from userid 0)
id 7EE42DE425E; Mon, 15 May 2017 23:41:12 +1000 (AEST)
From: "(Cron Daemon)" <root@linux.local>
To: root@linux.local
Subject: Cron <root@vicidial> /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3 --debugX
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
Precedence: bulk
X-Cron-Env: <XDG_SESSION_ID=22>
X-Cron-Env: <XDG_RUNTIME_DIR=/run/user/0>
X-Cron-Env: <XDG_SEAT=seat0>
X-Cron-Env: <XDG_VTNR=1>
X-Cron-Env: <LANG=POSIX>
X-Cron-Env: <LC_CTYPE=en_US.UTF-8>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>
Message-Id: <20170515134112.7EE42DE425E@linux.local>
Date: Mon, 15 May 2017 23:41:07 +1000 (AEST)
|select recording_id,start_time from recording_log where filename='20170515-233639_mymobile' order by recording_id desc LIMIT 1;|
Net::FTP>>> Net::FTP(2.77)
Net::FTP>>> Exporter(5.68)
Net::FTP>>> Net::Cmd(2.29)
Net::FTP>>> IO::Socket::INET(1.33)
Net::FTP>>> IO::Socket(1.36)
Net::FTP>>> IO::Handle(1.34)
Net::FTP=GLOB(0x131a960)<<< 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Net::FTP=GLOB(0x131a960)<<< 220-You are user number 3 of 50 allowed.
Net::FTP=GLOB(0x131a960)<<< 220-Local time is now 23:41. Server port: 21.
Net::FTP=GLOB(0x131a960)<<< 220-This is a private system - No anonymous login
Net::FTP=GLOB(0x131a960)<<< 220-IPv6 connections are also welcome on this server.
Net::FTP=GLOB(0x131a960)<<< 220 You will be disconnected after 15 minutes of inactivity.
Net::FTP=GLOB(0x131a960)>>> USER myusername
Net::FTP=GLOB(0x131a960)<<< 331 User myusername OK. Password required
Net::FTP=GLOB(0x131a960)>>> PASS ....
Net::FTP=GLOB(0x131a960)<<< 230 OK. Current restricted directory is /
Net::FTP=GLOB(0x131a960)>>> CWD recordings
Net::FTP=GLOB(0x131a960)<<< 250 OK. Current directory is /recordings
Net::FTP=GLOB(0x131a960)>>> MKD 2017-05-15
Net::FTP=GLOB(0x131a960)<<< 550 Can't create directory: File exists
Net::FTP=GLOB(0x131a960)>>> CWD 2017-05-15
Net::FTP=GLOB(0x131a960)<<< 250 OK. Current directory is /recordings/2017-05-15
Net::FTP=GLOB(0x131a960)>>> TYPE I
Net::FTP=GLOB(0x131a960)<<< 200 TYPE is now 8-bit binary
Cannot open Local file /var/spool/asterisk/monitorDONE/MP3/20170515-233639_mymobile-all.mp3: No such file or directory
at /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl line 506.
Net::FTP=GLOB(0x131a960)>>> QUIT
Net::FTP=GLOB(0x131a960)<<< 221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
Net::FTP=GLOB(0x131a960)<<< 221 Logout.
|UPDATE recording_log set location='http://mydomain.com.au/recordings/2017-05-15/20170515-233639_mymobile-all.mp3' where recording_id='13384';|
----- DEBUG -----
----- SUPER DEBUG -----
MP3 audio files
/var/spool/asterisk/monitorDONE/MP3/20170515-233639_mymobile-all.mp3 57024
/var/spool/asterisk/monitorDONE/MP3/20170515-233639_mymobile-all.mp3 57024
|13384|2017-05-15|20170515-233639_mymobile-all.mp3| ||
mv: cannot stat ‘/var/spool/asterisk/monitorDONE/MP3/20170515-233639_mymobile-all.mp3’: No such file or directory
Transfered 1 files
DONE... EXITING
You have new mail in /var/mail/root