From 5d108c19bdda6af723da43f8ba6d862f57a03550 Mon Sep 17 00:00:00 2001 From: mattf Date: Mon, 14 Aug 2006 16:18:36 +0000 Subject: [PATCH] remove all references to home/cron in bin scripts git-svn-id: svn://192.168.202.10@165 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/bin/ADMIN_adjust_GMTnow_on_leads.pl | 4 ---- agc_2-X/trunk/bin/AST_VDauto_dial.pl | 4 ++-- agc_2-X/trunk/bin/AST_manager_listen.pl | 2 +- agc_2-X/trunk/bin/AST_send_action_child.pl | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/agc_2-X/trunk/bin/ADMIN_adjust_GMTnow_on_leads.pl b/agc_2-X/trunk/bin/ADMIN_adjust_GMTnow_on_leads.pl index 4a1ede21..bf8b405b 100644 --- a/agc_2-X/trunk/bin/ADMIN_adjust_GMTnow_on_leads.pl +++ b/agc_2-X/trunk/bin/ADMIN_adjust_GMTnow_on_leads.pl @@ -218,10 +218,6 @@ if ($DB) {print "SEED TIME $secX : $year-$mon-$mday $hour:$min:$sec LOC $sthA->finish(); if ($DB) {print " - GMT phone codes records: $rec_countZ\n";} -# open(codefile, "/home/cron/phone_codes_GMT.txt") || die "can't open /home/cron/phone_codes_GMT.txt: $!\n"; -# @codefile = ; -# close(codefile); - $ep=0; $ei=0; $ee=0; $d=0; foreach (@phone_codes) diff --git a/agc_2-X/trunk/bin/AST_VDauto_dial.pl b/agc_2-X/trunk/bin/AST_VDauto_dial.pl index 2aabb2f0..31b311d4 100644 --- a/agc_2-X/trunk/bin/AST_VDauto_dial.pl +++ b/agc_2-X/trunk/bin/AST_VDauto_dial.pl @@ -419,8 +419,8 @@ while($one_day_interval > 0) if ($lead_id_call_list =~ /\|$lead_id\|/) { print "!!!!!!!!!!!!!!!!duplicate lead_id for this run: |$lead_id| $lead_id_call_list\n"; - open(DUPout, ">>/home/cron/VDAD_DUPLICATE.$file_date") - || die "Can't open /home/cron/VDAD_DUPLICATE.$file_date: $!\n"; + open(DUPout, ">>$PATHlogs/VDAD_DUPLICATE.$file_date") + || die "Can't open $PATHlogs/VDAD_DUPLICATE.$file_date: $!\n"; print DUPout "$now_date-----$lead_id_call_list-----$lead_id\n"; close(DUPout); } diff --git a/agc_2-X/trunk/bin/AST_manager_listen.pl b/agc_2-X/trunk/bin/AST_manager_listen.pl index 2e2d4e65..a73d2c56 100644 --- a/agc_2-X/trunk/bin/AST_manager_listen.pl +++ b/agc_2-X/trunk/bin/AST_manager_listen.pl @@ -191,7 +191,7 @@ while($one_day_interval > 0) $tn = new Net::Telnet (Port => $telnet_port, Prompt => '/.*[\$%#>] $/', Output_record_separator => '',); - #$LItelnetlog = '/home/cron/listen_telnet_log.txt' # uncomment for telnet log + #$LItelnetlog = "$PATHlogs/listen_telnet_log.txt" # uncomment for telnet log #$fh = $tn->dump_log("$LItelnetlog"); # uncomment for telnet log if (length($ASTmgrUSERNAMElisten) > 3) {$telnet_login = $ASTmgrUSERNAMElisten;} else {$telnet_login = $ASTmgrUSERNAME;} diff --git a/agc_2-X/trunk/bin/AST_send_action_child.pl b/agc_2-X/trunk/bin/AST_send_action_child.pl index d37d577c..eb5c68cf 100644 --- a/agc_2-X/trunk/bin/AST_send_action_child.pl +++ b/agc_2-X/trunk/bin/AST_send_action_child.pl @@ -38,7 +38,7 @@ # 60718-1024 - changed to use /etc/astguiclient.conf for configs # -$FULL_LOG = 1; # set to 1 for a full response log to be created in /home/cron/action_full.date +$FULL_LOG = 1; # set to 1 for a full response log to be created in $PATHlogs/action_full.date $secX = time();