Update noct_sftp_copy.sh
This commit is contained in:
+1
-4
@@ -1,10 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# Script: noct_sftp_copy.sh
|
# Script: noct_sftp_copy.sh
|
||||||
# Description: Copies 3 CSV files from a single source directory to 3
|
# Author: Kristian Sundet
|
||||||
# separate destination directories and changes ownership to
|
|
||||||
# a specified user. Designed for silent cron execution with
|
|
||||||
# full logging on Red Hat Enterprise Linux.
|
|
||||||
# Cron example (runs daily at 02:00 as root):
|
# Cron example (runs daily at 02:00 as root):
|
||||||
# 0 2 * * * /usr/local/bin/noct_sftp_copy.sh
|
# 0 2 * * * /usr/local/bin/noct_sftp_copy.sh
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user