diff --git a/src/web/python/chocomae/backup_unpaid_maestro_log.py b/src/web/python/chocomae/backup_unpaid_maestro_log.py index a3f0c82..61f82e4 100644 --- a/src/web/python/chocomae/backup_unpaid_maestro_log.py +++ b/src/web/python/chocomae/backup_unpaid_maestro_log.py @@ -32,7 +32,7 @@ def send_unpaid_maestro_mysqldump_to_test_server(): command_mysqldump += ' ' + output_fullpath print(command_mysqldump) - command_scp = 'scp '+ output_fullpath + ' chocomae@test.chocomae.com:' + command_scp = 'scp '+ output_fullpath command_scp += ' ' + backup_server_address + output_directory print(command_scp) diff --git a/src/web/python/chocomae/send_mail_to_unpaid_maestro.py b/src/web/python/chocomae/send_mail_to_unpaid_maestro.py index 6ab7c5e..0a205f2 100644 --- a/src/web/python/chocomae/send_mail_to_unpaid_maestro.py +++ b/src/web/python/chocomae/send_mail_to_unpaid_maestro.py @@ -32,13 +32,13 @@ def send_mail(email, name, register_date): command_send_mail.append(name) date = register_date.strftime('%Y%m%d') command_send_mail.append(date) - print(command_send_mail) + # print(command_send_mail) # command_move_dir = ['cd', path] # print(command_move_dir) # subprocess.call(command_move_dir) - command_move_pwd = ['pwd'] - subprocess.call(command_move_pwd) + # command_move_pwd = ['pwd'] + # subprocess.call(command_move_pwd) subprocess.call(command_send_mail)